[Bug 1522675] Re: /root/.synaptic/ not created due to locking status

dino99 1522675 at bugs.launchpad.net
Thu Sep 15 16:04:57 UTC 2016


** Description changed:

  Recently we got new versions for synaptic 0.82+build1 & apt 1.1.3, but
  now get that error when installing/upgrading some packages:
  
  Setting up libc6-dbg:amd64 (2.21-0ubuntu5) ...
  Processing triggers for libc-bin (2.21-0ubuntu5) ...
  W: Can't drop privileges for downloading as file '/root/.synaptic/tmp//tmp_cl' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
  
  From nautilus, i'm seeing a /root/ folder locked (x on its icon) and the
  folder is empty (no /.synaptic/ sub-folder or file), so the above error.
+ 
+ =======================================================================
+ The real problem is : there is _apt user on the system (see #808802 MV comments)
+ 
+ grep -B2 _apt /var/lib/dpkg/info/apt.postinst
+ 
+ 	# add unprivileged user for the apt methods
+ 	adduser --force-badname --system --home /nonexistent  \
+ 	    --no-create-home --quiet _apt || true
+ 
+ 	# Fixup any mistake in the home directory of the _apt user
+ 	if dpkg --compare-versions "$2" lt-nl 1.1~exp10~; then
+ 	    usermod --home /nonexistent _apt
+ ======================================================================
+ 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: synaptic 0.82+build1
  ProcVersionSignature: Ubuntu 4.3.0-1.10-generic 4.3.0
  Uname: Linux 4.3.0-1-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.19.2-0ubuntu8
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Dec  4 05:23:25 2015
  SourcePackage: synaptic
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  Recently we got new versions for synaptic 0.82+build1 & apt 1.1.3, but
  now get that error when installing/upgrading some packages:
  
  Setting up libc6-dbg:amd64 (2.21-0ubuntu5) ...
  Processing triggers for libc-bin (2.21-0ubuntu5) ...
  W: Can't drop privileges for downloading as file '/root/.synaptic/tmp//tmp_cl' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
  
  From nautilus, i'm seeing a /root/ folder locked (x on its icon) and the
  folder is empty (no /.synaptic/ sub-folder or file), so the above error.
  
  =======================================================================
- The real problem is : there is _apt user on the system (see #808802 MV comments)
+ The real problem is : there is no _apt user on the system (see #808802 MV comments)
  
  grep -B2 _apt /var/lib/dpkg/info/apt.postinst
  
- 	# add unprivileged user for the apt methods
- 	adduser --force-badname --system --home /nonexistent  \
- 	    --no-create-home --quiet _apt || true
+  # add unprivileged user for the apt methods
+  adduser --force-badname --system --home /nonexistent  \
+      --no-create-home --quiet _apt || true
  
- 	# Fixup any mistake in the home directory of the _apt user
- 	if dpkg --compare-versions "$2" lt-nl 1.1~exp10~; then
- 	    usermod --home /nonexistent _apt
+  # Fixup any mistake in the home directory of the _apt user
+  if dpkg --compare-versions "$2" lt-nl 1.1~exp10~; then
+      usermod --home /nonexistent _apt
  ======================================================================
- 
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: synaptic 0.82+build1
  ProcVersionSignature: Ubuntu 4.3.0-1.10-generic 4.3.0
  Uname: Linux 4.3.0-1-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.19.2-0ubuntu8
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Dec  4 05:23:25 2015
  SourcePackage: synaptic
  UpgradeStatus: No upgrade log present (probably fresh install)

** Summary changed:

- /root/.synaptic/ not created due to locking status
+ Can't drop privileges for downloading : _apt user not created

** No longer affects: synaptic (Ubuntu)

** Also affects: dpkg (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: apt (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1522675

Title:
  Can't drop privileges for downloading : _apt user not created

Status in dpkg package in Ubuntu:
  Confirmed
Status in synaptic package in Debian:
  New

Bug description:
  Recently we got new versions for synaptic 0.82+build1 & apt 1.1.3, but
  now get that error when installing/upgrading some packages:

  Setting up libc6-dbg:amd64 (2.21-0ubuntu5) ...
  Processing triggers for libc-bin (2.21-0ubuntu5) ...
  W: Can't drop privileges for downloading as file '/root/.synaptic/tmp//tmp_cl' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

  From nautilus, i'm seeing a /root/ folder locked (x on its icon) and
  the folder is empty (no /.synaptic/ sub-folder or file), so the above
  error.

  =======================================================================
  The real problem is : there is no _apt user on the system (see #808802 MV comments)

  grep -B2 _apt /var/lib/dpkg/info/apt.postinst

   # add unprivileged user for the apt methods
   adduser --force-badname --system --home /nonexistent  \
       --no-create-home --quiet _apt || true

   # Fixup any mistake in the home directory of the _apt user
   if dpkg --compare-versions "$2" lt-nl 1.1~exp10~; then
       usermod --home /nonexistent _apt
  ======================================================================

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: synaptic 0.82+build1
  ProcVersionSignature: Ubuntu 4.3.0-1.10-generic 4.3.0
  Uname: Linux 4.3.0-1-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.19.2-0ubuntu8
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Fri Dec  4 05:23:25 2015
  SourcePackage: synaptic
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1522675/+subscriptions



More information about the foundations-bugs mailing list