Your message dated Fri, 7 Aug 2015 17:58:08 +0200
with message-id <20150807155808.GA15916@crossbow>
and subject line Re: No user _apt, can not drop rights
has caused the Debian Bug report #794448,
regarding No user _apt, can not drop rights
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
794448: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794448
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.1~exp8
Severity: grave
Hello,
this morning, apt started segfaulting out of blue. My current workaround
was to install the experimental version and run "apt-cache gencaches"
then, at least, apt-cache stopped segfaulting. But apt-get still cannot
run an update, see below, because apparently _apt user was not
created... and no idea why.
Note: I had to install manually, maybe this fact plays a role here.
I also kept the coredumps and /var/{cache,lib}/apt folder snapshots from
the segfaulting version for post-mortem analysis.
Regards,
Eduard.
zonk: /var/lib/apt $ dpkg -i /download/apt_1.1~exp8_amd64.deb
(Lese Datenbank ... 837600 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../apt_1.1~exp8_amd64.deb ...
Entpacken von apt (1.1~exp8) über (1.0.9.10) ...
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von apt:
apt hängt ab von libapt-pkg4.15 (>= 1.1~exp5); aber:
Paket libapt-pkg4.15 ist nicht installiert.
dpkg: Fehler beim Bearbeiten des Paketes apt (--install):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für man-db (2.7.0.2-5) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
apt
zonk: /var/lib/apt $ dpkg -i /download/libapt-pkg4.15_1.1~exp8_amd64.deb
Vormals nicht ausgewähltes Paket libapt-pkg4.15:amd64 wird gewählt.
(Lese Datenbank ... 837599 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libapt-pkg4.15_1.1~exp8_amd64.deb ...
Entpacken von libapt-pkg4.15:amd64 (1.1~exp8) ...
libapt-pkg4.15:amd64 (1.1~exp8) wird eingerichtet ...
Trigger für libc-bin (2.19-19) werden verarbeitet ...
zonk: /var/lib/apt $ apt-get update
E: Method gave invalid 400 URI Failure message: No user _apt, can not drop
rights
E: Method gave invalid 400 URI Failure message: No user _apt, can not drop
rights
E: Method gave invalid 400 URI Failure message: No user _apt, can not drop
rights
E: Method gave invalid 400 URI Failure message: No user _apt, can not drop
rights
E: Method gave invalid 400 URI Failure message: No user _apt, can not drop
rights
E: Method gave invalid 400 URI Failure message: No user _apt, can not drop
rights
E: Method gave invalid 400 URI Failure message: No user _apt, can not drop
rights
zonk: /var/lib/apt $ grep apt /etc/passwd
aptproxy:x:120:65534::/var/cache/apt-proxy:/bin/false
apt-cacher-ng:x:121:124::/var/cache/apt-cacher-ng:/bin/bash
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Sandbox "";
APT::Sandbox::User "_apt";
APT::Update "";
APT::Update::Post-Invoke "";
APT::Update::Post-Invoke:: "[ ! -x
/usr/lib/ia32-libs-tools/update-arch-all.list ] ||
/usr/lib/ia32-libs-tools/update-arch-all.list";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:: "[ ! -f /var/run/dbus/system_bus_socket ] ||
/usr/bin/dbus-send --system --dest=org.debian.apt --type=signal /org/debian/apt
org.debian.apt.CacheChanged || true";
APT::Update::Post-Invoke-Success:: "/usr/bin/test -e
/usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service &&
/usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call
--system --dest org.freedesktop.PackageKit --object-path
/org/freedesktop/PackageKit --timeout 4 --method
org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo
> /dev/null";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image-4\.1\.2+$";
APT::NeverAutoRemove:: "^linux-image-4\.1\.3+$";
APT::NeverAutoRemove:: "^linux-headers-4\.1\.2+$";
APT::NeverAutoRemove:: "^linux-headers-4\.1\.3+$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.1\.2+$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.1\.3+$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.1\.2+$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.1\.3+$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.1\.2+$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.1\.3+$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.1\.2+$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.1\.3+$";
APT::NeverAutoRemove:: "^gnumach-image-4\.1\.2+$";
APT::NeverAutoRemove:: "^gnumach-image-4\.1\.3+$";
APT::NeverAutoRemove:: "^.*-modules-4\.1\.2+$";
APT::NeverAutoRemove:: "^.*-modules-4\.1\.3+$";
APT::NeverAutoRemove:: "^.*-kernel-4\.1\.2+$";
APT::NeverAutoRemove:: "^.*-kernel-4\.1\.3+$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.1\.2+$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.1\.3+$";
APT::NeverAutoRemove:: "^linux-tools-4\.1\.2+$";
APT::NeverAutoRemove:: "^linux-tools-4\.1\.3+$";
APT::NeverAutoRemove:: "^postgresql-";
APT::VersionedKernelPackages "";
APT::VersionedKernelPackages:: "linux-image";
APT::VersionedKernelPackages:: "linux-headers";
APT::VersionedKernelPackages:: "linux-image-extra";
APT::VersionedKernelPackages:: "linux-signed-image";
APT::VersionedKernelPackages:: "kfreebsd-image";
APT::VersionedKernelPackages:: "kfreebsd-headers";
APT::VersionedKernelPackages:: "gnumach-image";
APT::VersionedKernelPackages:: ".*-modules";
APT::VersionedKernelPackages:: ".*-kernel";
APT::VersionedKernelPackages:: "linux-backports-modules-.*";
APT::VersionedKernelPackages:: "linux-tools";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Architectures:: "i386";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "1";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "2";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-9n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "3";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-9";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "4";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Bin::lzma "/usr/bin/xz";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Dir::Ignore-Files-Silently:: "\.distUpgrade$";
Acquire "";
Acquire::AllowInsecureRepositories "1";
Acquire::AllowDowngradeToInsecureRepositories "0";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::PDiffs "";
Acquire::PDiffs::FileLimit "5";
Acquire::Queue-Mode "host";
Acquire::Source-Symlinks "true";
Acquire::http "";
Acquire::http::Pipeline-Depth "1000";
Acquire::http::Proxy "http://localhost:3142";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
Acquire::Languages:: "de";
Acquire::Languages:: "de_DE";
Aptitude "";
Aptitude::ProblemResolver "";
Aptitude::ProblemResolver::SolutionCost "priority, removals, canceled-actions";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt";
DPkg::Pre-Install-Pkgs:: "adequate --help >/dev/null 2>&1 || exit 0; exec
adequate --user nobody --apt-preinst";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "3";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::InfoFD "20";
DPkg::Tools::Options::adequate "";
DPkg::Tools::Options::adequate::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "adequate --help >/dev/null 2>&1 || exit 0; exec adequate
--debconf --user nobody --pending";
DPkg::Post-Invoke:: "/usr/bin/test -e
/usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service &&
/usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call
--system --dest org.freedesktop.PackageKit --object-path
/org/freedesktop/PackageKit --timeout 4 --method
org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo
> /dev/null";
AptListbugs "";
AptListbugs::Severities "critical,grave,serious";
Adequate "";
Adequate::Enabled "false";
Unattended-Upgrade "";
Unattended-Upgrade::Origins-Pattern "";
Unattended-Upgrade::Origins-Pattern::
"origin=Debian,codename=${distro_codename},label=Debian-Security";
CommandLine "";
CommandLine::AsString "apt-config dump";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
#deb file:/tmp/aptfs unstable main non-free contrib
#deb file:/srv/acngfs/debrep unstable main contrib non-free
# /usr/lib/apt-cacher-ng/acngfs http://ftp.uni-kl.de/debian localhost:3142
/tmp/aptfs -o allow_root
#deb file:///tmp/ice ./
#deb http://ftp-master.debian.org/newdists/ unstable main non-free contrib
#deb http://localhost:3145/wtf/debian unstable main non-free contrib
#deb http://wtf/debian unstable main non-free contrib
deb http://ftp2.de.debian.org/debian/ unstable main non-free contrib
deb http://ftp.de.debian.org/debian/ unstable main non-free contrib
deb http://ftp.ch.debian.org/debian/ unstable main non-free contrib
### ffffuuu deb http://http.debian.net/debian/ unstable main non-free contrib
### ffffuuu deb http://ftp.debian.org/debian/ unstable main non-free contrib
### ffffuuu deb http://ftp.debian.org/debian/ testing main non-free contrib
### ffffuuu #deb http://debian.netcologne.de/debian/ stable main non-free
contrib
deb-src http://debian.netcologne.de/debian/ unstable main non-free contrib
deb-src http://debian.netcologne.de/debian/ testing main non-free contrib
deb-src http://debian.netcologne.de/debian/ stable main non-free contrib
######
deb http://ftp.uni-kl.de/debian/ experimental main contrib non-free
deb-src http://ftp.uni-kl.de/debian/ experimental main contrib non-free
# grml-repository - stable branch
deb http://deb.grml.org/ grml-stable main
deb-src http://deb.grml.org/ grml-stable main
#####deb-src http://ftp.uni-kl.de/debian/ experimental main contrib non-free
#####deb-src http://ftp.uni-kl.de/debian/ experimental main
######
#deb http://ftp.debian-unofficial.org/debian/ unstable main contrib non-free
restricted
######deb http://ftp.debian-unofficial.org/debian/ etch main contrib non-free
restricted
#####
#####deb http://volatile.debian.org/debian-volatile lenny/volatile main
#####
######If you need a recent libdrm, take it from
######http://people.debian.org/~bgoglin/rebuilds/libdrm-2.4.16/
#####
#####
#####
#####
###### Vermurkste versionen!
######deb http://debian.netcologne.de/debian-multimedia.org/ unstable main
######deb-src http://debian.netcologne.de/debian-multimedia.org/ unstable main
#####
######deb file:/tmp/mine/debian unstable main non-free contrib
#####
#####
######deb-src file:/tmp/mine unstable main non-free contrib
######deb http://www.atmel.no/avr32/ubuntu/hardy binary/
#####
######deb http://www.debian-multimedia.org unstable main
#####
######deb-src http://localhost:3142/de.archive.ubuntu.com/ubuntu hardy-proposed
main
#####
#####deb http://ftp.uni-kl.de/debian-local etch-unikl main
#####deb-src http://ftp.uni-kl.de/debian-local etch-unikl main
#####
######deb http://localhost/testdeb/ ./
#####
#####deb http://twolife.org/debian/todo/cdemu/ ./
#####
######deb http://download.virtualbox.org/virtualbox/debian lenny non-free
#####
#####deb http://pkg-icewm.alioth.debian.org ./
#####
#deb-src http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./
#deb http://deb.opera.com/opera/ sid non-free
#deb http://unofficial.debian-maintainers.org/ sid main contrib non-free
restricted
#deb http://localhost/foo/ experimental main contrib non-free
# Google testing repository
#deb http://dl.google.com/linux/deb/ testing non-free
deb http://dl.google.com/linux/chrome/deb/ stable main
#deb http://www.debian-multimedia.org sid main
deb http://security.debian.org/ testing/updates main contrib non-free
#deb http://emacs.naquadah.org/ unstable/
#deb-src http://emacs.naquadah.org/ unstable/
#deb http://switch.dl.sourceforge.net/project/jedit /
#deb-src http://testhttps/debian/ jessie contrib
#deb http://deb.grml.org/ grml-stable-nana main
#deb https://get.docker.com/ubuntu docker main
#deb http://HTTPS///get.docker.com/ubuntu docker main
#deb https://deb.nodesource.com/node wheezy main
deb http://pkg-icewm.alioth.debian.org/ ./
deb http://ppa.launchpad.net/webupd8team/java/ubuntu vivid main
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.3+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
Versions of packages apt depends on:
ii adduser 3.113+nmu3
ii debian-archive-keyring 2014.3
ii gnupg 1.4.19-3
ii gnupg2 2.0.28-3
ii libapt-pkg4.15 1.1~exp8
ii libc6 2.19-19
ii libgcc1 1:5.1.1-21
ii libstdc++6 5.1.1-21
apt recommends no packages.
Versions of packages apt suggests:
ii apt-doc 1.0.9.10
ii aptitude 0.6.11-1+b1
ii dpkg-dev 1.18.1
ii python-apt 1.0.0~beta3
ii synaptic 0.81.4
-- no debconf information
--
<Rhonda> cobolt_: Dann lass bitte die Finger vom Kernel-Patchen.
<Joey[tm]> ... sonst patcht der Kernel Dir eine...
--- End Message ---
--- Begin Message ---
Hi,
(for some reason, this mail didn't end up in my inbox… I just stumbled
over it in the BTS now wondering why apt has a RC bug out of a sudden…)
On Mon, Aug 03, 2015 at 09:39:06AM +0200, Eduard Bloch wrote:
> this morning, apt started segfaulting out of blue. My current workaround
> was to install the experimental version and run "apt-cache gencaches"
Not a good idea. The /experimental version might be in experimental for
a reason… the version was also not updated for the libstdc++6 transition
happening in /sid so far. It would have been more reasonable to figure
out and report the initial segfaults… if you can reproduce them please
report them!
> then, at least, apt-cache stopped segfaulting. But apt-get still cannot
> run an update, see below, because apparently _apt user was not
> created... and no idea why.
As you say, you installed by hand, but that install wasn't complete and
so apt hangs there in a limbo-state between installed and not-installed.
Packages in such a state have undefined runtime behaviour: You are lucky
"apt-get update" just refuses to work by default (you could actually
tell it to work by disabling the user changing) – in this state it would
be legally allowed to eat your first born child and plead not guilty… ;)
> zonk: /var/lib/apt $ dpkg -i /download/apt_1.1~exp8_amd64.deb
> (Lese Datenbank ... 837600 Dateien und Verzeichnisse sind derzeit
> installiert.)
> Vorbereitung zum Entpacken von .../apt_1.1~exp8_amd64.deb ...
> Entpacken von apt (1.1~exp8) über (1.0.9.10) ...
> dpkg: Abhängigkeitsprobleme verhindern Konfiguration von apt:
> apt hängt ab von libapt-pkg4.15 (>= 1.1~exp5); aber:
> Paket libapt-pkg4.15 ist nicht installiert.
>
> dpkg: Fehler beim Bearbeiten des Paketes apt (--install):
> Abhängigkeitsprobleme - verbleibt unkonfiguriert
> Trigger für man-db (2.7.0.2-5) werden verarbeitet ...
> Fehler traten auf beim Bearbeiten von:
> apt
> zonk: /var/lib/apt $ dpkg -i /download/libapt-pkg4.15_1.1~exp8_amd64.deb
> Vormals nicht ausgewähltes Paket libapt-pkg4.15:amd64 wird gewählt.
> (Lese Datenbank ... 837599 Dateien und Verzeichnisse sind derzeit
> installiert.)
> Vorbereitung zum Entpacken von .../libapt-pkg4.15_1.1~exp8_amd64.deb ...
> Entpacken von libapt-pkg4.15:amd64 (1.1~exp8) ...
> libapt-pkg4.15:amd64 (1.1~exp8) wird eingerichtet ...
> Trigger für libc-bin (2.19-19) werden verarbeitet ...
You have to run 'dpkg --configure -a' to finish the installation of
'apt'. Currently it is just unpacked, but unconfigured on your system.
Your installation of libapt-pkg4.15 installs and configures the library,
but it doesn't automatically also configure packages which depend on
this library (and failed before) like apt.
You should have installed the library before apt…
Complete the installation of apt and the user _apt should exist. I am
therefore closing this bug as this is not a bug – installing stuff with
dpkg is just not as easy as it is with apt as it is lower in the stack
and provides therefore less hand holding.
Best regards
David Kalnischkies
signature.asc
Description: Digital signature
--- End Message ---