Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
236 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/339 MB of archives.
After this operation, 55.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
root@crosshair:/home/ckosloff#
Bulkley wrote:su is deprecated? When did that happen? Is this another case wherein something works so someone out there has to fix it?
util-linux (2.32-0.4) unstable; urgency=medium
The util-linux implementation of /bin/su is now used, replacing the
one previously supplied by src:shadow (shipped in login package), and
bringing Debian in line with other modern distributions. The two
implementations are very similar but have some minor differences (and
there might be more that was not yet noticed ofcourse), e.g.
- new 'su' (with no args, i.e. when preserving the environment) also
preserves PATH and IFS, while old su would always reset PATH and IFS
even in 'preserve environment' mode.
- su '' (empty user string) used to give root, but now returns an error.
- previously su only had one pam config, but now 'su -' is configured
separately in /etc/pam.d/su-l
The first difference is probably the most user visible one. Doing
plain 'su' is a really bad idea for many reasons, so using 'su -' is
strongly recommended to always get a newly set up environment similar
to a normal login. If you want to restore behaviour more similar to
the previous one you can add 'ALWAYS_SET_PATH yes' in /etc/login.defs.
BTW, in the absence of any evidence to the contrary, I assumed the OP is using stable, and you're posting the changelog for the upstream version of util-linux.
I am on testing, system reports as buster/sid.
So I should use su- to get root now? franken Debian, no more mysql either.
i did a dist-upgrade using su - and it worked.
However there is a big difference, whereas the previous reported 236 packages upgraded this one only reported 42.
#
# deb cdrom:[Debian GNU/Linux buster-DI-alpha1 _Buster_ - Official Snapshot amd64 NETINST 20170829-10:02]/ buster main
#deb cdrom:[Debian GNU/Linux buster-DI-alpha1 _Buster_ - Official Snapshot amd64 NETINST 20170829-10:02]/ buster main
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
# deb-src http://ftp.br.debian.org/debian/ buster main non-free contrib
deb http://ftp.us.debian.org/debian-security testing/updates main contrib non-free
# deb-src http://ftp.br.debian.org/debian-security buster/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb http://ftp.us.debian.org/debian/ testing-updates main contrib non-free
deb http://security.debian.org/ testing/updates main
E: The repository 'http://security.debian.org testing Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.