alarm-clock-applet / alarm-clock

Alarm Clock is a fully-featured alarm clock for use with an AppIndicator implementation.
https://alarm-clock-applet.github.io
GNU General Public License v2.0
121 stars 31 forks source link

Install failed in the latest PopOs #220

Closed boundless-forest closed 1 year ago

boundless-forest commented 1 year ago

Typing install following the instructions in the website:

$ sudo add-apt-repository -y ppa:tatokis/alarm-clock-applet
$ sudo apt update
$ apt install alarm-clock-applet

The output:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 alarm-clock-applet : Depends: gconf-service but it is not installable
                      Depends: libgconf-2-4 (>= 3.2.6) but it is not installable
E: Unable to correct problems, you have held broken packages.

The OS information:

$ cat /etc/os-release
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Any insight about fixing this?

tatokis commented 1 year ago

I think something might be up with your system/dependencies. pop_os_alarm_clock

Can you post the output of apt-cache policy gconf-service libgconf-2-4 ?

What happens if you run sudo apt -f install and sudo apt install libgconf-2-4? If these two commands offer a solution and you want to answer Y, triple check what packages are getting removed/installed so as to not remove needed packages by accident.

boundless-forest commented 1 year ago

Latest Update: I switched the Download from from the MainServer to a mirror server, the apt install alarm-clock-applet works. But I have no idea why the Main sever is not working.

Screenshot from 2023-08-03 19-37-35

The output of the apt-cache policy gconf-service libgconf-2-4:

gconf-service:
  Installed: 3.2.6-7ubuntu2
  Candidate: 3.2.6-7ubuntu2
  Version table:
 *** 3.2.6-7ubuntu2 500
        500 http://mirrors.aliyun.com/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status
libgconf-2-4:
  Installed: 3.2.6-7ubuntu2
  Candidate: 3.2.6-7ubuntu2
  Version table:
 *** 3.2.6-7ubuntu2 500
        500 http://mirrors.aliyun.com/ubuntu jammy/universe amd64 Packages
        100 /var/lib/dpkg/status

What happens if you run sudo apt -f install and sudo apt install libgconf-2-4?

I have failed to do like this, the execution result shows that the libgconf-2-4 and gconf-service are not available. Sorry, I did not keep the console output .

boundless-forest commented 1 year ago

Switching server solved my problem, so feel free to close this issue.

boundless-forest commented 1 year ago

The answer from AI:

The gconf-service and libgconf-2-4 packages are part of the GConf system, which has been deprecated and replaced by DConf. Many distributions, including newer versions of Ubuntu and its derivatives like Pop!_OS, have removed these packages from their repositories.