[Bug 1232661] Re: dpkg --set-selections : dpkg: warning: package not in database
Paul Flint
flint at flint.com
Sat Feb 20 20:40:20 UTC 2016
Greetings,
sudo apt-get install dselect
sudo dselect update
Did now work for me. :^(
What I ended up doing was to take the package file, which contains lines
like this:
acl install
and, using a text editor (maybe eventually sed or awk :^) made them look
like this:
apt-get install acl 2>>errors
Did this to the whole file, then chmod'ed it +x and fired it off...
The only real rub is you have to keep hitting enter every now and then
in the install.
Meh...
Flint
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1232661
Title:
dpkg --set-selections : dpkg: warning: package not in database
Status in dpkg package in Ubuntu:
Invalid
Bug description:
dpkg --set-selections does not work any more to find packages that
have not already been installed on the system. If new packages are
introduced, an error is produced with no effect on the selections. In
the example below, "tidy" has not yet been installed on the system,
but it gives the same result with any other package that has not yet
been installed:
echo "tidy install" | dpkg --set-selections
dpkg: warning: package not in database at line 1: tidy
What should happen is that the package state be set properly so that
"apt-get dselect-upgrade" works.
This might be related to Debian bug 684776
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684776
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: dpkg 1.16.10ubuntu3
ProcVersionSignature: Ubuntu 3.11.0-9.16-generic 3.11.2
Uname: Linux 3.11.0-9-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
Date: Sun Sep 29 10:12:58 2013
InstallationDate: Installed on 2013-09-26 (2 days ago)
InstallationMedia: Lubuntu 13.10 "Saucy Salamander" - Beta amd64+mac (20130925)
MarkForUpload: True
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1232661/+subscriptions
More information about the foundations-bugs
mailing list