Cannot install emacs, broken dependencies on exim?


#1

Attempting to install emacs on a fresh PureOS install fails:

Do you want to continue? [Y/n] 
Err:1 https://repo.pureos.net/pureos amber-security/main amd64 exim4-config all 4.92-8+deb10u1
  404  Not Found [IP: 138.201.228.45 443]
Err:2 https://repo.pureos.net/pureos amber-security/main amd64 exim4-base amd64 4.92-8+deb10u1
  404  Not Found [IP: 138.201.228.45 443]
Err:3 https://repo.pureos.net/pureos amber-security/main amd64 exim4-daemon-light amd64 4.92-8+deb10u1
  404  Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/e/exim4/exim4-config_4.92-8+deb10u1_all.deb  404  Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/e/exim4/exim4-base_4.92-8+deb10u1_amd64.deb  404  Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/e/exim4/exim4-daemon-light_4.92-8+deb10u1_amd64.deb  404  Not Found [IP: 138.201.228.45 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Full transaction display:

$ sudo apt install emacs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  emacs-bin-common emacs-common emacs-el emacs-gtk exim4-base exim4-config
  exim4-daemon-light guile-2.2-libs imagemagick-6-common libgc1c2
  libgnutls-dane0 libgsasl7 libheif1 libkyotocabinet16v5 liblqr-1-0 libm17n-0
  libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmailutils5 libntlm0 libotf0
  libunbound8 m17n-db mailutils mailutils-common
Suggested packages:
  emacs-common-non-dfsg ncurses-term exim4-doc-html | exim4-doc-info eximon4
  spf-tools-perl swaks m17n-docs libmagickcore-6.q16-6-extra gawk mailutils-mh
  mailutils-doc
The following NEW packages will be installed:
  emacs emacs-bin-common emacs-common emacs-el emacs-gtk exim4-base
  exim4-config exim4-daemon-light guile-2.2-libs imagemagick-6-common libgc1c2
  libgnutls-dane0 libgsasl7 libheif1 libkyotocabinet16v5 liblqr-1-0 libm17n-0
  libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmailutils5 libntlm0 libotf0
  libunbound8 m17n-db mailutils mailutils-common
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,038 kB/47.9 MB of archives.
After this operation, 204 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Err:1 https://repo.pureos.net/pureos amber-security/main amd64 exim4-config all 4.92-8+deb10u1
  404  Not Found [IP: 138.201.228.45 443]
Err:2 https://repo.pureos.net/pureos amber-security/main amd64 exim4-base amd64 4.92-8+deb10u1
  404  Not Found [IP: 138.201.228.45 443]
Err:3 https://repo.pureos.net/pureos amber-security/main amd64 exim4-daemon-light amd64 4.92-8+deb10u1
  404  Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/e/exim4/exim4-config_4.92-8+deb10u1_all.deb  404  Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/e/exim4/exim4-base_4.92-8+deb10u1_amd64.deb  404  Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/e/exim4/exim4-daemon-light_4.92-8+deb10u1_amd64.deb  404  Not Found [IP: 138.201.228.45 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Yes, I have apt updated recently:

$ sudo apt update
Hit:1 https://repo.pureos.net/pureos amber InRelease
Hit:2 https://repo.pureos.net/pureos amber-security InRelease
Hit:3 https://repo.pureos.net/pureos amber-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

#2

Seems like a bunch of broken dependencies all around.

Is this a bad sync from Debian to PureOS project repos? Am I unwittingly tracking a bleeding edge development release of PureOS? :smiley:

$ sudo apt install pkg-config
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libdpkg-perl libfile-fcntllock-perl
Suggested packages:
  debian-keyring bzr dpkg-dev
The following NEW packages will be installed:
  libdpkg-perl libfile-fcntllock-perl pkg-config
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,414 kB/1,513 kB of archives.
After this operation, 2,828 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Err:1 https://repo.pureos.net/pureos amber/main amd64 libdpkg-perl all 1.19.7
  404  Not Found [IP: 138.201.228.45 443]
E: Failed to fetch https://repo.pureos.net/pureos/pool/main/d/dpkg/libdpkg-perl_1.19.7_all.deb  404  Not Found [IP: 138.201.228.45 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

#3

I would need to know what is in your /etc/apt/sources.list and/or /etc/apt/sources.list.d/*


#4

It appears to my (slightly educated) eyes that something is up with the repo since apt update is working fine.


#5

I didn’t modify them after installation, they were whatever PureOS set up by default. I literally just tried installing my dev environment after PureOS finished installing and had broken dependencies like this.

I would tell you my apt sources but I wiped and reinstalled to Debian Buster since I needed to get something working. There was more broken than just this, FWIW.

Besides broken dependencies, libu2f didn’t seem to be installed by default so neither Pure browser (nor Firefox) could see my yubikey, the lock screen wouldn’t accept my password (no matter how many times and how carefully I typed), but switching user and then selecting my account to log into worked fine.

It seemed like I was tracking a dev repo of some kind.

Sorry I can’t be more helpful.