Your message dated Thu, 1 Dec 2011 00:00:25 +0800
with message-id 
<can3vere5zvdxw0rwvm0obsegxt7uuke+rvtssrzugrrajqq...@mail.gmail.com>
and subject line Bug #281498 and others: `%s' in aptitude permission denied 
messages
has caused the Debian Bug report #281498,
regarding Bad error message when running aptitude as non-root
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 [email protected]
immediately.)


-- 
281498: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=281498
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.4.1-1
Severity: normal

If you run aptitude without being root, you see

"E: /home/gpk/.aptitude/config - Unable to open %s for writing (13 Permission 
denied)"

The "%s" clearly is supposed to be a substitution, but someone
forgot to supply the file name to substitute in.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3.1 0.6.43.1   Advanced front-end for dpkg
ii  libc6                         2.3.5-8    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-5  GCC support library
ii  libncursesw5                  5.5-1      Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a            2.0.16-2   type-safe Signal Framework for C++
ii  libstdc++6                    4.0.2-5    The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do <none>     (no description available)

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.6.4-1

Not sure when these errors were fixed, but they seem to have been for
a while.  They all relate to `%s' not being replaced with a filename
in permission denied messages.

>From #281498:
> due to using sudo, ~/.aptitude was not readable when I ran this
> command as myself:
>
> ~$ aptitude show vpnc
> E: /home/adrian/.aptitude/config - Unable to open %s for writing (13
> Permission denied)
> Package: vpnc
> State: installed
> ....

Now:
~$ ls -ld .aptitude
dr-x--x--x 2 root root 4096 Nov 30 23:49 .aptitude
~$ aptitude show vpnc
E: Unable to open /home/daniel/.aptitude/config for writing - apt_init
(13: Permission denied)
Package: vpnc
...


--- End Message ---

Reply via email to