Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #243713
| From | Richard Hector <richard@walnut.gen.nz> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Single broken package blocks whole package management |
| Date | 2022-01-05 15:30 +0100 |
| Message-ID | <DCfsB-3E3-5@gated-at.bofh.it> (permalink) |
| References | <DCePU-3a1-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 6/01/22 02:32, Urs Thuermann wrote:
> After an dist-upgrade from Raspian 8 (jessie) to 9.13 (stretch)
> hundreds of packages still need to be upgraded and aptitude reports
> numerous conflicts.
Firstly, the standard response is that Raspbian is not Debian :-) There
are differences which might be related to your problem.
> I first wanted to upgrade everything which doesn't causes any
> conflicts, which fails because of problems in wolfram-engine:
wolfram-engine appears not to be a debian package, for starters.
[snip]
> Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72.
> Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30.
Looks bad, but deprecation isn't an error.
[snip]
> dpkg: unrecoverable fatal error, aborting:
> files list file for package 'wolfram-engine' contains empty filename
> E: Sub-process /usr/bin/dpkg returned an error code (2)
> Failed to perform requested operation on package. Trying to recover:
Ah. So perhaps a bug in that package. Or it's corrupted.
If you look at /var/lib/dpkg/info/wolfram-engine.list does it have an
empty line in it? What happens if you edit that out?
>
> root@uranus:~#
>
> I tried to remove packages wolfram-engine and wolframscript, also
> tried to remove debconf-utils, but everything fails with the same
> error message:
>
> root@uranus:~# dpkg --force-all -P wolfram-engine
> dpkg: unrecoverable fatal error, aborting:
> files list file for package 'wolfram-engine' contains empty filename
Same thing
>
> Also, upgrading a single package that's completely unrelated, is not
> possible:
>
> root@uranus:~# aptitude install acl
> The following packages will be upgraded:
> acl libacl1
> The following partially installed packages will be configured:
> debconf-utils{b}
> 2 packages upgraded, 0 newly installed, 0 to remove and 1005 not upgraded.
> Need to get 0 B/80.7 kB of archives. After unpacking 49.2 kB will be used.
> The following packages have unmet dependencies:
> debconf-utils : Depends: debconf (= 1.5.61) but 1.5.56+deb8u1 is installed and it is kept back.
> The following actions will resolve these dependencies:
>
> Remove the following packages:
> 1) debconf-utils
>
>
>
> Accept this solution? [Y/n/q/?]
> The following packages will be REMOVED:
> debconf-utils{a}
> The following packages will be upgraded:
> acl libacl1
> 2 packages upgraded, 0 newly installed, 1 to remove and 1005 not upgraded.
> Need to get 0 B/80.7 kB of archives. After unpacking 58.4 kB will be freed.
> Do you want to continue? [Y/n/?]
> Reading changelogs... Done
> Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72.
> Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30.
> dpkg: unrecoverable fatal error, aborting:
> files list file for package 'wolfram-engine' contains empty filename
> E: Sub-process /usr/bin/dpkg returned an error code (2)
> Failed to perform requested operation on package. Trying to recover:
Still comes back to the same thing.
>
> root@uranus:~#
>
> What else can I do to get the package management working again?
I'd try deleting any blank lines from that file, and trying again.
Or maybe apt-get install --reinstall wolfram-engine
Or ask on a Raspbian list :-)
A related question here:
https://unix.stackexchange.com/questions/425355/x11-common-contains-empty-filename
Cheers,
Richard
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Single broken package blocks whole package management Urs Thuermann <urs@isnogud.escape.de> - 2022-01-05 14:50 +0100
Re: Single broken package blocks whole package management Richard Hector <richard@walnut.gen.nz> - 2022-01-05 15:30 +0100
Re: Single broken package blocks whole package management "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-05 16:20 +0100
Re: Single broken package blocks whole package management Urs Thuermann <urs@isnogud.escape.de> - 2022-01-05 17:40 +0100
Re: Single broken package blocks whole package management Dan Ritter <dsr@randomstring.org> - 2022-01-05 18:20 +0100
Re: Single broken package blocks whole package management Greg Wooledge <greg@wooledge.org> - 2022-01-05 18:20 +0100
Re: Single broken package blocks whole package management Urs Thuermann <urs@isnogud.escape.de> - 2022-01-05 17:00 +0100
Re: Single broken package blocks whole package management David Wright <deblis@lionunicorn.co.uk> - 2022-01-05 17:00 +0100
csiph-web