Upgrade fails in Buster

Help with issues regarding installation of Debian

Upgrade fails in Buster

Postby PCR » 2018-08-31 09:34

I get the following message when I try to upgrade my new install of Buster: Can you help please?

Do you want to continue? [Y/n] Y
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 177296 files and directories currently installed.)
Preparing to unpack .../e2fslibs_1.44.4-2_amd64.deb ...
Unpacking e2fslibs:amd64 (1.44.4-2) over (1.43.5-1) ...
Selecting previously unselected package libext2fs2:amd64.
Preparing to unpack .../libext2fs2_1.44.4-2_amd64.deb ...
Unpacking libext2fs2:amd64 (1.44.4-2) ...
Setting up libext2fs2:amd64 (1.44.4-2) ...
(Reading database ... 177300 files and directories currently installed.)
Preparing to unpack .../e2fsprogs_1.44.4-2_amd64.deb ...
Unpacking e2fsprogs (1.44.4-2) over (1.43.5-1) ...
Setting up e2fsprogs (1.44.4-2) ...
Installing new version of config file /etc/mke2fs.conf ...
/var/lib/dpkg/info/e2fsprogs.postinst: 8: /var/lib/dpkg/info/e2fsprogs.postinst: update-initramfs: not found
dpkg: error processing package e2fsprogs (--configure):
installed e2fsprogs package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
e2fsprogs
E: Sub-process /usr/bin/dpkg returned an error code (1)

Thank You
PCR
 
Posts: 3
Joined: 2018-08-31 09:29

Re: Upgrade fails in Buster

Postby arochester » 2018-08-31 09:51

1) Did you run update first?

2) What does your sources list and sources,list.d say?
arochester
 
Posts: 1312
Joined: 2010-12-07 19:55

Re: Upgrade fails in Buster

Postby L_V » 2018-08-31 10:03

+
Code: Select all
dpkg -l | grep initramfs-tools
L_V
 
Posts: 771
Joined: 2007-03-19 09:04

Re: Upgrade fails in Buster

Postby PCR » 2018-08-31 15:08

Yes, I ran update first.

here is sources.list

#

# deb cdrom:[Debian GNU/Linux buster-DI-alpha1 _Buster_ - Official Snapshot amd64 DVD Binary-1 20170829-10:03]/ buster contrib main non-free

#deb cdrom:[Debian GNU/Linux buster-DI-alpha1 _Buster_ - Official Snapshot amd64 DVD Binary-1 20170829-10:03]/ buster contrib main non-free

deb http://ftp.us.debian.org/debian/ buster main non-free contrib
deb-src http://ftp.us.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

Here is the dpkg result:

root@Delta:/home/pcr1# cat /etc/apt/sources.list.d
cat: /etc/apt/sources.list.d: Is a directory
root@Delta:/home/pcr1# dpkg -l initramfs-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii initramfs-tool 0.132 all generic modular initramfs generat

Thank You
PCR
 
Posts: 3
Joined: 2018-08-31 09:29

Re: Upgrade fails in Buster

Postby @ttila » 2018-08-31 18:04

Do you login as root with the command "su -" instead of the simple "su"?
User avatar
@ttila
 
Posts: 14
Joined: 2017-12-13 16:57

Re: Upgrade fails in Buster

Postby PCR » 2018-08-31 18:32

Thanks to all for your help but I have gone back to stretch for a while!! :)
PCR
 
Posts: 3
Joined: 2018-08-31 09:29

Re: Upgrade fails in Buster

Postby Wheelerof4te » 2018-08-31 19:02

Testing is not a production-ready OS. You should use it only if you are an advanced Debian user, or have desire to test the next release.
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: Upgrade fails in Buster

Postby Zjho » 2018-09-01 12:48

Probably irrelevant but worth mentioning there was a recent appstream bug preventing my updating/upgrading Buster.
Web searching led to this blog http://www.suramya.com/blog/2018/08/fix ... et-update/
that fixed the issue.
User avatar
Zjho
 
Posts: 31
Joined: 2016-09-15 17:46


Return to Installation

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable