Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Update to buster failed

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
mountaineer
Posts: 12
Joined: 2017-11-16 22:21

Update to buster failed

#1 Post by mountaineer »

Hello: I attempted to update stretch to buster, but the process stopped with the following message:
  • Preparing to unpack .../104-sane-utils_1.0.27-3.2_amd64.deb ...
    Unpacking sane-utils (1.0.27-3.2) over (1.0.25-4.1) ...
    Preparing to unpack .../105-libattr1_1%3a2.4.48-4_amd64.deb ...
    Unpacking libattr1:amd64 (1:2.4.48-4) over (1:2.4.47-2+b2) ...
    Errors were encountered while processing:
    /tmp/apt-dpkg-install-IOjZsR/036-libjsp-api-java_2.3.4-2_all.deb
    /tmp/apt-dpkg-install-IOjZsR/038-libwebsocket-api-java_1.1-1_all.deb
There were a couple more similar packages listed in the error message, but I tried using the command "dpkg -r --force-depends" which made them disappear and resulted in the following error:
  • root@DELLDEB:/# dpkg -r --force-depends /tmp/apt-dpkg-install-IOjZsR/038-libwebsocket-api-java_1.1-1_all.deb
    dpkg: error: --remove needs a valid package name but '/tmp/apt-dpkg-install-IOjZsR/038-libwebsocket-api-java_1.1-1_all.deb' is not: illegal package name in specifier '/tmp/apt-dpkg-install-IOjZsR/038-libwebsocket-api-java_1.1-1_all.deb': must start with an alphanumeric character
So I decided to just try to get rid of the offending packages after discarding the IOjZsR/038 in the hope that it was just a confusing addition:
  • root@DELLDEB:/# dpkg --remove libwebsocket-api-java_1.1-1_all.deb
    dpkg: error: you must specify packages by their own names, not by quoting the names of the files they come in

    Use 'dpkg' to install and remove packages from your system, or
    'apt' or 'aptitude' for user-friendly package management. Packages
    unpacked using 'dpkg-deb --extract' will be incorrectly installed !

After reading the man pages for dpkg and dpkg.deb and finding nothing helpful, I gave up. The upgrade process is stalled. Is there a way to continue the upgrade or to reverse the part of the upgrade that has been done?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Update to buster failed

#2 Post by Head_on_a_Stick »

mountaineer wrote:I attempted to update stretch to buster
How? Have you read the guide in the buster release notes? Don't post back until you've gone through it.
deadbang

mountaineer
Posts: 12
Joined: 2017-11-16 22:21

Re: Update to buster failed

#3 Post by mountaineer »

Hello:
I had skimmed the Release Notes for Debian 10 (buster), 64-bit PC, and was following the upgrade procedure in chapter 4. That's where I got the instruction "dpkg -r --force-depends".
Article 4.1.1 also refers to files such as "/var/lib/dpkg" and "/var/lib/apt/extended_states". These files refer to the command "gdk-pixbuf-query-loaders" which my system can't find. The files themselves indicate that the non-existent pixbuf loader files can't be opened (it doesn't say when) but that may likely be the problem with the update.
I didn't remove the "/etc/ca-certificates.conf.dpkg" file, my only .dpkg file, but the installation took care of that by adding a "-old" onto the end of that filename and replacing it.
I still can't find any solutions for my problem which is a broken installation.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Update to buster failed

#4 Post by L_V »

What is reporting this:

Code: Select all

apt policy

dpkg-query -l | egrep -v '^(ii|un|rc)' | sed '1,5d' | awk '{print $1,$2,$3}'

mountaineer
Posts: 12
Joined: 2017-11-16 22:21

Re: Update to buster failed

#5 Post by mountaineer »

Thanks, L V.
I have never heard of the commands you posted, but I ran them and got 20 pages of package lists and package information. I don't know how to interpret this data--should I post it to this forum topic?

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Update to buster failed

#6 Post by L_V »

mountaineer wrote:Thanks, L V.
I have never heard of the commands you posted, but I ran them and got 20 pages of package lists and package information.
It looks like you have some problems (...), but can't you help you more without better visibility on the feedback.
It would take too much time to solve via a forum.
If you have an opportunity to make a clean Buster install, don't hesitate.... It will be very probably much faster.

How many pages gave you the first command ?

Code: Select all

apt policy
or this

Code: Select all

find /etc/apt -name '*.list' -print -exec grep "^deb " {} \;

mountaineer
Posts: 12
Joined: 2017-11-16 22:21

Re: Update to buster failed

#7 Post by mountaineer »

Hello:
the command
apt-policy
gave less than one page of data:
One item labeled 100,
Two items labeled 500, and
Ten items labeled 900.

I agree that I might as well do a clean install. It sounds like it might be a difficult, time consuming process to fix the broken update and I certainly don't know enough to do it.

I assume that it will be unnecessary to continue this topic and that I will be off line anyway since fdisk, partman and cfdisk are no longer found on my machine. However, if there are uninstall instructions on the Debian website, I would appreciate a link.

Thanks for the help.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Update to buster failed

#8 Post by L_V »

How many pages with this one ?

Code: Select all

find /etc/apt -name '*.list' -print -exec grep "^deb " {} \;
Just give the first 20 lines to have an idea...... (just for fun).

User avatar
fabien
Forum Helper
Forum Helper
Posts: 621
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 60 times
Been thanked: 146 times

Re: Update to buster failed

#9 Post by fabien »

While undertaking some tests on a test machine (for the thread I opened about apt vs apt-get, work in progress)

- installed a fresh Stretch, selected Desktop environment, Gnome, KDE, Cinnamon, Mate, SSH server, system utils

- changed /etc/apt/sources.list :

Code: Select all

deb http://ftp.fr.debian.org/debian/ buster main contrib non-free
deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb http://ftp.fr.debian.org/debian/ buster-updates main contrib non-free
- apt-get -V dist-upgrade, got this error (seems the same as the OP issue)

Code: Select all

[...]
Preparing to unpack .../133-libservlet-api-java_4.0.1-2_all.deb ...
Unpacking libservlet-api-java (4.0.1-2) ...
Selecting previously unselected package libjsp-api-java.
Preparing to unpack .../134-libjsp-api-java_2.3.4-2_all.deb ...
Unpacking libjsp-api-java (2.3.4-2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-Ef9wrg/134-libjsp-api-java_2.3.4-2_all.deb (--unpack):
 trying to overwrite '/usr/share/maven-repo/javax/servlet/jsp/javax.servlet.jsp-api/2.3/javax.servlet.jsp-api-2.3.pom', which is also in package libservlet3.1-java 8.5.50-0+deb9u1
Selecting previously unselected package libel-api-java.
Preparing to unpack .../135-libel-api-java_3.0.0-2_all.deb ...
Unpacking libel-api-java (3.0.0-2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-Ef9wrg/135-libel-api-java_3.0.0-2_all.deb (--unpack):
 trying to overwrite '/usr/share/maven-repo/javax/el/javax.el-api/3.0/javax.el-api-3.0.pom', which is also in package libservlet3.1-java 8.5.50-0+deb9u1
Selecting previously unselected package libwebsocket-api-java.
Preparing to unpack .../136-libwebsocket-api-java_1.1-1_all.deb ...
Unpacking libwebsocket-api-java (1.1-1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-Ef9wrg/136-libwebsocket-api-java_1.1-1_all.deb (--unpack):
 trying to overwrite '/usr/share/maven-repo/javax/websocket/javax.websocket-api/1.0/javax.websocket-api-1.0.pom', which is also in package libservlet3.1-java 8.5.50-0+deb9u1
Preparing to unpack .../137-libservlet3.1-java_1%3a4.0.1-2_all.deb ...
Unpacking libservlet3.1-java (1:4.0.1-2) over (8.5.50-0+deb9u1) ...
Preparing to unpack .../138-libhsqldb1.8.0-java_1.8.0.10+dfsg-10_all.deb ...
Unpacking libhsqldb1.8.0-java (1.8.0.10+dfsg-10) over (1.8.0.10+dfsg-7) ...
Preparing to unpack .../139-fonts-opensymbol_2%3a102.10+LibO6.1.5-3+deb10u5_all.deb ...
[...]
Errors were encountered while processing:
 /tmp/apt-dpkg-install-Ef9wrg/134-libjsp-api-java_2.3.4-2_all.deb
 /tmp/apt-dpkg-install-Ef9wrg/135-libel-api-java_3.0.0-2_all.deb
 /tmp/apt-dpkg-install-Ef9wrg/136-libwebsocket-api-java_1.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
- 1980 packages left in unpacked state, 493 not upgraded

Code: Select all

apt-get --fix-broken install
and then

Code: Select all

apt-get -V dist-upgrade
saved the situation, but there seems to be real issue with these packages (I suspect packaging error. Shouldn't Stretch packages be removed by install scripts before attempting upgrade?).

I must remember to install (and use) timeshift before Bullseye.

What I'm doing when I know there is an issue with package upgrade (always run a simulation before any upgrade) is removing the package and its reverse dependencies, doing the upgrade, reinstalling the packages. By far the simplest way.

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: Update to buster failed

#10 Post by Chrisdb »

fabien wrote: Errors were encountered while processing:

Code: Select all

 /tmp/apt-dpkg-install-Ef9wrg/134-libjsp-api-java_2.3.4-2_all.deb
 /tmp/apt-dpkg-install-Ef9wrg/135-libel-api-java_3.0.0-2_all.deb
 /tmp/apt-dpkg-install-Ef9wrg/136-libwebsocket-api-java_1.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
- 1980 packages left in unpacked state, 493 not upgraded
Did you have a look at: https://www.debian.org/releases/stable/ ... ng.en.html?
File conflicts should not occur if you upgrade from a “pure” stretch system, but can occur if you have unofficial backports installed.
Where did you get the *java* packages from? they're not available for stretch...

User avatar
fabien
Forum Helper
Forum Helper
Posts: 621
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 60 times
Been thanked: 146 times

Re: Update to buster failed

#11 Post by fabien »

Chrisdb wrote: Did you have a look at: https://www.debian.org/releases/stable/ ... ng.en.html?
File conflicts should not occur if you upgrade from a “pure” stretch system, but can occur if you have unofficial backports installed.
Yes I did, last summer before upgrading a bunch of Stretch (as I do for every release, I take time to read documentation). Of course file conflicts should not occur, that's why I wondered if there was a packaging error somehow; or it could be an unpacking order problem: libservlet3.1-java should be unpacked before the three others maybe. I don't know, just wonder.
But I'm puzzled since it's the first time I've got this error. I'm going to do a new Stretch install to find out more (and first more about libservlet3.1-java in Stretch) and see if I reproduce the issue.
Chrisdb wrote:Where did you get the *java* packages from? they're not available for stretch...
Of course they're not, they are from Buster since it's an upgrade. An «upgrade from a “pure” stretch system», with pure Debian Buster sources.list. Just didn't use apt but apt-get since it was the purpose of my test.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Update to buster failed

#12 Post by L_V »

@fabien
Not sure it is ideal to mix your update problem with mountaineer update problem.
Can you show this:

Code: Select all

dpkg -l | grep java | awk '{print $1,$2,$3}' 
apt-cache policy libservlet3.1-java

User avatar
fabien
Forum Helper
Forum Helper
Posts: 621
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 60 times
Been thanked: 146 times

Re: Update to buster failed

#13 Post by fabien »

L_V wrote:@fabien
Not sure it is ideal to mix your update problem with mountaineer update problem.
mountaineer wrote:Hello: I attempted to update stretch to buster, but the process stopped with the following message:
  • Errors were encountered while processing:
    /tmp/apt-dpkg-install-IOjZsR/036-libjsp-api-java_2.3.4-2_all.deb
    /tmp/apt-dpkg-install-IOjZsR/038-libwebsocket-api-java_1.1-1_all.deb
fabien wrote:- apt-get -V dist-upgrade, got this error (seems the same as the OP issue)

Code: Select all

[...]
Errors were encountered while processing:
 /tmp/apt-dpkg-install-Ef9wrg/134-libjsp-api-java_2.3.4-2_all.deb
 /tmp/apt-dpkg-install-Ef9wrg/135-libel-api-java_3.0.0-2_all.deb
 /tmp/apt-dpkg-install-Ef9wrg/136-libwebsocket-api-java_1.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I don't mix, I bring informations on what seems to be the same issue as that of the OP. The interest is that I've had this issue with a guaranteed pure and fresh Stretch install which rules out some common questions about system's health. Besides I personally have no problem, so no need to try to solve it. I will keep adding any information I will estimate valuable and in the general interest.
L_V wrote:Can you show this:

Code: Select all

dpkg -l | grep java | awk '{print $1,$2,$3}' 
apt-cache policy libservlet3.1-java
This is for the now Buster system, tell me if you want it for Stretch also.

Code: Select all

nofun@slab:~$ dpkg -l | grep java | awk '{print $1,$2,$3}' 
ii ca-certificates-java 20190405
ii cjs 3.8.0-5
ii gir1.2-javascriptcoregtk-4.0:amd64 2.26.2-1~deb10+1
ii gjs 1.54.3-1
ii java-common 0.71
ii javascript-common 11
ii libactivation-java 1.2.0-2
ii libaopalliance-java 20070526-6
ii libapache-poi-java 4.0.1-1
ii libapache-pom-java 18-1
ii libargs4j-java 2.33-1
ii libatinject-jsr330-api-java 1.0+ds1-5
ii libatk-wrapper-java 0.33.3-22
ii libatk-wrapper-java-jni:amd64 0.33.3-22
ii libbase-java 1.1.6-2
ii libbcmail-java 1.60-1
ii libbcpkix-java 1.60-1
ii libbcprov-java 1.60-1
ii libbsh-java 2.0b4-19
ii libcdi-api-java 1.2-2
ii libcjs0:amd64 3.8.0-5
ii libcodemodel-java 2.6+jaxb2.3.0.1-8
ii libcommons-cli-java 1.4-1
ii libcommons-codec-java 1.11-1
ii libcommons-collections3-java 3.2.2-2
ii libcommons-collections4-java 4.2-1
ii libcommons-compress-java 1.18-2
ii libcommons-io-java 2.6-2
ii libcommons-lang3-java 3.8-2
ii libcommons-logging-java 1.2-2
ii libcommons-math3-java 3.6.1-3
ii libcommons-parent-java 43-1
ii libcurvesapi-java 1.05-1
ii libdom4j-java 2.1.1-2
ii libdtd-parser-java 1.2~svn20110404-1
ii libehcache-java 2.6.11-3
ii libel-api-java 3.0.0-2
ii libfastinfoset-java 1.2.12-3
ii libflute-java 1:1.1.6-4
ii libfonts-java 1.1.6.dfsg-3
ii libformula-java 1.1.7.dfsg-2
ii libgeronimo-annotation-1.3-spec-java 1.0-1
ii libgeronimo-interceptor-3.0-spec-java 1.0.1-4
ii libgjs0g 1.54.3-1
ii libguava-java 19.0-1
ii libguice-java 4.2.1-1
ii libhsqldb1.8.0-java 1.8.0.10+dfsg-10
ii libhttpclient-java 4.5.7-1
ii libhttpcore-java 4.4.11-1
ii libicu4j-java 62.1-2
ii libintellij-annotations-java 17.0.0-1
ii libisorelax-java 20041111-12
ii libistack-commons-java 3.0.6-3
ii libitext-java 2.1.7-12
ii libjavascriptcoregtk-4.0-18:amd64 2.26.2-1~deb10+1
ii libjaxb-api-java 2.3.1-1
ii libjaxb-java 2.3.0.1-8
ii libjaxen-java 1.1.6-4
ii libjcommon-java 1.0.23-1
ii libjdom1-java 1.1.3-2
ii libjetbrains-annotations-java 17.0.0-1
ii libjsoup-java 1.10.2-2
ii libjsp-api-java 2.3.4-2
ii libjsr305-java 0.1~+svn49-11
ii liblayout-java 0.2.10-3
ii libloader-java 1.1.6.dfsg-4
ii liblog4j1.2-java 1.2.17-8
ii libmail-java 1.6.2-1
ii libmaven-file-management-java 3.0.0-1
ii libmaven-parent-java 31-2
ii libmaven-resolver-java 1.3.1-1
ii libmaven-shared-io-java 3.0.0-3
ii libmaven-shared-utils-java 3.3.0-1
ii libmaven3-core-java 3.6.0-1
ii libmsv-java 2009.1+dfsg1-6
ii libnode64:amd64 10.15.2~dfsg-2
ii libpentaho-reporting-flow-engine-java 0.9.4-5
ii libpixie-java 1:1.1.6-3
ii libplexus-archiver-java 3.6.0-2
ii libplexus-cipher-java 1.7-3
ii libplexus-classworlds-java 2.6.0-1
ii libplexus-component-annotations-java 1.7.1-7
ii libplexus-interpolation-java 1.25-1
ii libplexus-io-java 3.1.1-1
ii libplexus-sec-dispatcher-java 1.4-4
ii libplexus-utils2-java 3.1.1-1
ii librelaxng-datatype-java 1.0+ds1-3
ii libreoffice-java-common 1:6.1.5-3+deb10u5
ii librepository-java 1.1.6-3
ii librngom-java 2.3.0.1-8
ii libsac-java 1.3+dfsg-5
ii libsaxonhe-java 9.9.0.2+dfsg-1
ii libserializer-java 1.1.6-5
ii libservlet-api-java 4.0.1-2
ii libservlet3.1-java 1:4.0.1-2
ii libsisu-guice-java 4.2.0-1
ii libsisu-inject-java 0.3.3-1
ii libsisu-ioc-java 2.3.0-11
ii libsisu-plexus-java 0.3.3-3
ii libslf4j-java 1.7.25-3
ii libsnappy-java 1.1.7.2-1
ii libstax-ex-java 1.7.8-3
ii libstreambuffer-java 1.5.4-1
ii libtxw2-java 2.3.0.1-8
ii libwagon-http-java 3.3.1-2
ii libwagon-provider-api-java 3.3.1-2
ii libwebsocket-api-java 1.1-1
ii libxerces2-java 2.12.0-1
ii libxml-commons-external-java 1.4.01-3
ii libxml-commons-resolver1.1-java 1.2-9
ii libxml-java 1.1.6.dfsg-3
ii libxmlbeans-java 3.0.2-1
ii libxom-java 1.2.10-1
ii libxpp2-java 2.1.10-8
ii libxpp3-java 1.1.4c-3
ii libxsom-java 2.3.0.1-8
ii libxz-java 1.8-2
ii nodejs 10.15.2~dfsg-2
ii plasma-scriptengine-javascript 4:17.08.3-2.1
nofun@slab:~$ 

Code: Select all

nofun@slab:~$ LANG=C.UTF8 apt-cache policy libservlet3.1-java 
libservlet3.1-java:
  Installed: 1:4.0.1-2
  Candidate: 1:4.0.1-2
  Version table:
 *** 1:4.0.1-2 500
        500 http://ftp.fr.debian.org/debian buster/main amd64 Packages
        100 /var/lib/dpkg/status
nofun@slab:~$ LANG=C.UTF8 apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://ftp.fr.debian.org/debian buster-updates/main amd64 Packages
     release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=amd64
     origin ftp.fr.debian.org
 500 http://security.debian.org/debian-security buster/updates/non-free amd64 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://ftp.fr.debian.org/debian buster/contrib amd64 Packages
     release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
     origin ftp.fr.debian.org
 500 http://ftp.fr.debian.org/debian buster/non-free amd64 Packages
     release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
     origin ftp.fr.debian.org
 500 http://ftp.fr.debian.org/debian buster/main amd64 Packages
     release v=10.2,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
     origin ftp.fr.debian.org
Pinned packages:
nofun@slab:~$ aptitude search -F "%p" "?installed?not(?origin(^Debian$))"
linux-image-4.9.0-11-amd64
nofun@slab:~$ aptitude search -F "%p" "?installed(?origin(^Debian$))?not(?narrow(?installed,?archive(^stable$)))"
nofun@slab:~$ dpkg --audit                                                                       
nofun@slab:~$

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Update to buster failed

#14 Post by L_V »

fabien wrote:This is for the now Buster system, tell me if you want it for Stretch also.
?? Tell me what is your problem. You confuse me.
If you don't have problem with buster, i don't care of feebdback of buster.
The subject title which is not yours is: "Update to buster failed".

User avatar
fabien
Forum Helper
Forum Helper
Posts: 621
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 60 times
Been thanked: 146 times

Re: Update to buster failed

#15 Post by fabien »

fabien wrote:- 1980 packages left in unpacked state, 493 not upgraded

Code: Select all

apt-get --fix-broken install
and then

Code: Select all

apt-get -V dist-upgrade
saved the situation
What don't you understand?

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Update to buster failed

#16 Post by L_V »

fabien wrote:What don't you understand?
This "This is for the now Buster system, tell me if you want it for Stretch also.".

My answer: no I don't. Buster is fine, then it's OK (according to subject title).

reinob
Posts: 1189
Joined: 2014-06-30 11:42
Has thanked: 97 times
Been thanked: 47 times

Re: Update to buster failed

#17 Post by reinob »

L_V wrote:
fabien wrote:This is for the now Buster system, tell me if you want it for Stretch also.
?? Tell me what is your problem. You confuse me.
If you don't have problem with buster, i don't care of feebdback of buster.
The subject title which is not yours is: "Update to buster failed".
@fabien just showed that the problem happens on a "vanilla" upgrade from stretch to buster, which seems to be the same problem that the OP (@mountaineer) has, so he's basically confirmed it.

I'm however confused as to whether the java packages are available or not on stretch.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Update to buster failed

#18 Post by L_V »

Totally confusing
mountaineer said he gets pages with this command:

Code: Select all

find /etc/apt -name '*.list' -print -exec grep "^deb " {} \;
How someone else can reproduce the same environment. Simply impossible.
mountaineer does not only have a java problem easy to solve.

CwF
Global Moderator
Global Moderator
Posts: 2636
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 192 times

Re: Update to buster failed

#19 Post by CwF »

fabien wrote: What I'm doing when I know there is an issue with package upgrade (always run a simulation before any upgrade) is removing the package and its reverse dependencies, doing the upgrade, reinstalling the packages. By far the simplest way.
Yep, stepping through it with apt intelligence augmented with a human intelligence works every time.

Code: Select all

:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

:~$ cat /var/log/installer/lsb-release
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="8 (jessie) - installer build 20150422+deb8u4"
X_INSTALLATION_MEDIUM=cdrom

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Update to buster failed

#20 Post by L_V »

Yes when you have an update problem with about 10 packages.
When you have I quote "1980 packages left in unpacked state", it's another story and needs more precise investigations.
1980 is much more than the 1258 packages I currently have in my system.
If you remove 1980 packages, you maybe still would have at least dpkg, apt, bash and a kernel (if lucky enough), but not much more.

Post Reply