Package: module-assistant
Version: 0.9.10
Severity: important

module-assistant doesn't use sudo for the prepare and download commands
(and maybe others) making it unusable for non-root users. IMHO it should
use a common run-as-root wrapper around all commands that may require root
privileges.

$ module-assistant -v -u ~/src/modules -t update
Found sudo, will use it for apt-get and dpkg commands.
Updating info about acx100-source
Updating info about affix-source
...
Updated infos about 67 packages

$ module-assistant -v -u ~/src/modules -t prepare
Found sudo, will use it for apt-get and dpkg commands.
Getting source for kernel version: 2.6.10-5-686
Kernel headers available in /usr/src/linux-headers-2.6.10-5-686
Creating symlink...
Couldn't create the /usr/src/linux symlink!

Done!

$ module-assistant -v -u ~/src/modules -t get cdfs
Found sudo, will use it for apt-get and dpkg commands.
MA_SOURCE_PKG=cdfs-src /usr/share/modass/packages/default.sh download
 apt-get -y --force-yes install cdfs-src
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Installation of the cdfs-src source failed.

Ignoring this package. Maybe you need to add something to sources.list, maybe 
the contrib and non-free archives.

Updating info about cdfs

Updated infos about 1 packages


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10-5-686
Locale: LANG=C, LC_CTYPE=it_IT (charmap=ISO-8859-1)

Versions of packages module-assistant depends on:
ii  libtext-wrapi18n-perl     0.06-1         internationalized substitute of Te
ii  perl                      5.8.4-6ubuntu1 Larry Wall's Practical Extraction 

-- no debconf information

-- 
Massimo Dal Zotto <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to