~$ sudo apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
On Fri, 2 Sep 2022 08:58:28 +0300
Henry Crun <mike@rechtman.com> wrote:
~$ sudo apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
You have Ubuntu, but you also have Debian's repos in your sources.list.
This will create a huge mess.
Reinstall with Ubuntu 22.04 and only use repositories that are mode for
your OS. Don't place repos from other operating systems in your
sources.list.
The debian repositories have been there since 2020, when I used them
to install chromium without using snap. They have never caused
problems before, and are not in use currently. I was planning on
staying with 20.04 for another few months, as it is supported until
2025 Rather than upgrading now, I will grit my teeth and ignore the
apt messages (The don't seem to hurt, just bother my sense of
cleanlines...)
On 02/09/2022 9:55, Marco Moock wrote:
On Fri, 2 Sep 2022 08:58:28 +0300
Henry Crun <mike@rechtman.com> wrote:
~$ sudo apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
You have Ubuntu, but you also have Debian's repos in your sources.list.
This will create a huge mess.
Reinstall with Ubuntu 22.04 and only use repositories that are mode for
your OS. Don't place repos from other operating systems in your
sources.list.
The debian repositories have been there since 2020, when I used them
to install chromium without using snap.
They have never caused problems before, and are not in use
currently.
On 02/09/2022 9:55, Marco Moock wrote:
On Fri, 2 Sep 2022 08:58:28 +0300
Henry Crun <mike@rechtman.com> wrote:
~$ sudo apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
You have Ubuntu, but you also have Debian's repos in your sources.list.
This will create a huge mess.
Reinstall with Ubuntu 22.04 and only use repositories that are mode for
your OS. Don't place repos from other operating systems in your
sources.list.
The debian repositories have been there since 2020, when I used them to install chromium without using snap.
They have never caused problems before, and are not in use currently.
I was planning on staying with 20.04 for another few months, as it is supported until 2025
Rather than upgrading now, I will grit my teeth and ignore the apt
messages (The don't seem to hurt, just bother my sense of cleanlines...)
On Fri, 2 Sep 2022 08:58:28 +0300
Henry Crun <mike@rechtman.com> wrote:
~$ sudo apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
You have Ubuntu, but you also have Debian's repos in your sources.list.
This will create a huge mess.
Reinstall with Ubuntu 22.04 and only use repositories that are mode for
your OS. Don't place repos from other operating systems in your
sources.list.
Running 20.o4, up till now entirely updated.
My tale of woe (And apologies for it's length):
~$ sudo apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:3 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://deb.debian.org/debian-security buster/updates InRelease
Hit:6 http://ppa.launchpad.net/kelebek333/kablosuz/ubuntu focal InRelease Hit:7 http://ppa.launchpad.net/mkusb/unstable/ubuntu focal InRelease
Hit:8 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu focal InRelease
Fetched 56.6 kB in 1s (41.1 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
...
:~$ apt list --upgradable
Listing... Done
libjpeg-turbo-progs/oldstable 1:1.5.2-2+deb10u1 amd64 [upgradable from: 2.0.3-0ubuntu1.20.04.1]
N: There are 2 additional versions. Please use the '-a' switch to see them. ...
~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libjpeg-turbo-progs
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
...
~$ sudo apt install libjpeg-turbo-progs
Reading package lists... Done
Building dependency tree
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:
libjpeg-turbo-progs : Depends: libturbojpeg0 (>= 1.4.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
...
But:
~$ sudo apt install libturbojpeg0
Reading package lists... Done
Building dependency tree
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:
libjpeg8 : Depends: libjpeg-turbo8 (>= 1.1.90+svn722-1ubuntu6) but it
is not going to be installed
libqt5svg5 : Depends: libqt5widgets5 (>= 5.12.8+dfsg~) but it is not
going to be installed
qt5-gtk-platformtheme : Depends: libgtk-3-0 (>= 3.9.10) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be
caused by held packages.
...
~$ sudo apt install libjpeg8
Reading package lists... Done
Building dependency tree
Reading state information... Done
libjpeg8 is already the newest version (8c-2ubuntu8).
libjpeg8 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Also, checking for held packages:
~$ apt-mark showhold
~$ <== nothing there
And checking in case libjpeg-turbo-progs is held in a partial phase:
apt-cache policy libjpeg-turbo-progs
libjpeg-turbo-progs:
Installed: 2.0.3-0ubuntu1.20.04.1
Candidate: 1:1.5.2-2+deb10u1
Version table:
1:1.5.2-2+deb10u1 300
300 http://deb.debian.org/debian buster/main amd64 Packages
*** 2.0.3-0ubuntu1.20.04.1 100
100 /var/lib/dpkg/status
2.0.3-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
(no % characters)
Apologies once again for the length of this post. All and any comments gratefully accepted,
And if I'm being an idiot, let me know.
Thanks,
Mike
Deleted all debian-related files from /etc/apt/sources.list.d/debian*
The original problem disappeared, and now apt update runs clean.
I hope I haven't broken anything serious,
Nearly everywhere I hear of problems with dependencies the
system are loaded with snaps or flatpaks and you have mixed in
Debian repositories as well. Not necessarily an idiot but overly adventurous.
On 9/1/22 22:58, Henry Crun wrote:
Running 20.o4, up till now entirely updated.
My tale of woe (And apologies for it's length):
~$ sudo apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
Hit:3 http://ppa.launchpad.net/gerardpuig/ppa/ubuntu focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://deb.debian.org/debian-security buster/updates InRelease
Hit:6 http://ppa.launchpad.net/kelebek333/kablosuz/ubuntu focal InRelease
Hit:7 http://ppa.launchpad.net/mkusb/unstable/ubuntu focal InRelease
Hit:8 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu focal InRelease
Fetched 56.6 kB in 1s (41.1 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
...
:~$ apt list --upgradable
Listing... Done
libjpeg-turbo-progs/oldstable 1:1.5.2-2+deb10u1 amd64 [upgradable from: 2.0.3-0ubuntu1.20.04.1]
N: There are 2 additional versions. Please use the '-a' switch to see them. >> ...
~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libjpeg-turbo-progs
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
...
~$ sudo apt install libjpeg-turbo-progs
Reading package lists... Done
Building dependency tree
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:
libjpeg-turbo-progs : Depends: libturbojpeg0 (>= 1.4.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
...
But:
~$ sudo apt install libturbojpeg0
Reading package lists... Done
Building dependency tree
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:
libjpeg8 : Depends: libjpeg-turbo8 (>= 1.1.90+svn722-1ubuntu6) but it is not going to be installed
libqt5svg5 : Depends: libqt5widgets5 (>= 5.12.8+dfsg~) but it is not going to be installed
qt5-gtk-platformtheme : Depends: libgtk-3-0 (>= 3.9.10) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
...
~$ sudo apt install libjpeg8
Reading package lists... Done
Building dependency tree
Reading state information... Done
libjpeg8 is already the newest version (8c-2ubuntu8).
libjpeg8 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Also, checking for held packages:
~$ apt-mark showhold
~$ <== nothing there
And checking in case libjpeg-turbo-progs is held in a partial phase:
apt-cache policy libjpeg-turbo-progs
libjpeg-turbo-progs:
Installed: 2.0.3-0ubuntu1.20.04.1
Candidate: 1:1.5.2-2+deb10u1
Version table:
1:1.5.2-2+deb10u1 300
300 http://deb.debian.org/debian buster/main amd64 Packages >> *** 2.0.3-0ubuntu1.20.04.1 100
100 /var/lib/dpkg/status
2.0.3-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
(no % characters)
Apologies once again for the length of this post. All and any comments gratefully accepted,
And if I'm being an idiot, let me know.
Thanks,
Mike
i think your problem is a system which depends on Snap or Flatpaks or other such nonsense. Cannot Ubuntu package
programs
as Debs?
Nearly everywhere I hear of problems with dependencies the
system are loaded with snaps or flatpaks and you have mixed in
Debian repositories as well. Not necessarily an idiot but overly adventurous.
Sometime I go outside of the regular repositories of
the distribution I use to pull deprecated programs out of
archives. Not often and sometimes they do not work but
I seldom try to find an alien package format.
bliss - brought to you by the power and ease of PCLinuxOS
the Perfect Computer Linus Operating System(for me),
and a minor case of hypergraphia.
Linux 5.19.6
O.K. You were all right, and I was wrong. Mea culpa!!
Deleted all debian-related files from /etc/apt/sources.list.d/debian*
The original problem disappeared, and now apt update runs clean.
I hope I haven't broken anything serious,
Apologies once again - I should have been less obstinate!
Thanks to all who responded, I'll try to be more careful in future.
Mike
Running 20.o4, up till now entirely updated.
My tale of woe (And apologies for it's length):
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 365 |
Nodes: | 16 (3 / 13) |
Uptime: | 24:47:53 |
Calls: | 7,748 |
Calls today: | 2 |
Files: | 12,888 |
Messages: | 5,740,134 |
Posted today: | 1 |