[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#281246: Debian-live needs this

Package: aptitude
Version: 0.4.4-4
Followup-For: Bug #281246

This isn't merely a matter of convenience for Debian-live.  The live CDs
produced by live-helper use casper which sets no root password.  Instead
the live user uses sudo.  Thus, the aptitude menu entry that starts aptitude
in a terminal as the current user is broken.  When root is required, the user
is prompted for the root password by do_su_to_root().  Of course, since there
is no root password, there is nothing the user can do to proceed.

As Matt Zimmerman suggested, this should really be a config option.  So far,
we have patched Debian's casper to set the appropriate config options for
kdesu and gksu, and the 'menu' package's su-to-root wrapper (see #410875) to
all use sudo.  We only need this problem with aptitude to be resolved for
all standard sytem utilities requiring root to work properly when launched
from the menu on a Debian live CD.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3 Advanced front-end for dpkg
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libncursesw5                5.5-5        Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a          2.0.17-2     type-safe Signal Framework for C++
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.4-4    English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.0-1      parse Debian changelogs and output

-- no debconf information

Reply to: