Debian buster: are you testing?

News and discussion about development of the Debian OS itself

Re: Debian buster: are you testing?

Postby RichardWurth » 2018-11-20 01:48

I'm testing on the alpha 3 iso, default desktop, some config is messed up somehow - my root account isn't set up right. I didn't do anything. I go in a terminal and do 'su' to switch to root, and it doesn't update my path to include sbin directory. I get output like this when trying apt upgrade:

After this operation, 262 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
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)

Works ok if I do 'su -l' instead. I wonder if anyone else encounters this
RichardWurth
 
Posts: 2
Joined: 2018-11-20 01:15

Re: Debian buster: are you testing?

Postby 4D696B65 » 2018-11-20 02:07

RichardWurth wrote:Works ok if I do 'su -l' instead. I wonder if anyone else encounters this

This has been talked about for weeks.
User avatar
4D696B65
 
Posts: 2438
Joined: 2009-06-28 06:09

Re: Debian buster: are you testing?

Postby GarryRicketson » 2018-11-20 02:09

Works ok if I do 'su -l' instead. I wonder if anyone else encounters this

Yes, it is kind of old news, all though it had been submitted as a bug, it is not a bug, it is a feature :
Tue, 31 Jul 2018 09:18:06 +0200
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904988
I thought I (or something) had hosed my system, but it turns out this
change is by design. After reading more closely the changelog I read

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=90483

and

https://bugs.debian.org/cgi-bin/bugrepo ... bug=833256

> To me this mostly seems like a(nother) case of "always use 'su -',
> never su".


Feel free to close this bug, sorry for the noise.

=====

I think you need to use
Code: Select all
su -
now, have you tried that ?
Last edited by GarryRicketson on 2018-11-20 02:24, edited 1 time in total.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Debian buster: are you testing?

Postby RichardWurth » 2018-11-20 02:24

4D696B65 wrote:
RichardWurth wrote:Works ok if I do 'su -l' instead. I wonder if anyone else encounters this

This has been talked about for weeks.


first post on this forum. tx admin

@Garry - Interesting, thanks
RichardWurth
 
Posts: 2
Joined: 2018-11-20 01:15

Re: Debian buster: are you testing?

Postby jnhollow » 2018-12-02 19:23

Had the same problem with "su -". Took awhile to figure that out.
I've been running Buster for more than a year and everything has been very smooth for me, except when I personally killed it and had to restore. That's when that "su -" caused problems. I did a minimal installation with only the system utilities and then proceeded to install only what I needed. Using the Mate desktop, LibreOffice, 2 network printers (32 bit) etc. I am now using it for my everyday system.
It's fast and clean.
jnhollow
 
Posts: 1
Joined: 2018-12-02 17:55

Re: Debian buster: are you testing?

Postby llivv » 2018-12-16 01:57

I was scolded for having to ask about the path errors as well ..
viewtopic.php?f=19&t=138837
you may want to read the man page for su
than double/triple check it after buster release.

I use a lot of different su options and have read a lot of different versions of the su man page.

The path issues are a result of an inititive call [USR Merge] which makes a lot of sense when using systemd, probably. :?:
UsrMerge
not so much when using sysv. :shock:
And there is current discussion regarding package builds with usr merge issues and building packages on merged usr build machines. check it out on the boot list if interested.

Bulkley see package usrmerge for a couple hints why stretch don't upgrade to easy to buster, yet.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: Debian buster: are you testing?

Postby milomak » 2018-12-17 17:46

i can' emember why i've always used su -
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 1998
Joined: 2009-06-09 22:20

Re: Debian buster: are you testing?

Postby llivv » 2018-12-18 09:30

su -
the gnu form is
su --login
one man page recommends gnu on linux

another su man pages stated
-c is discouraged #OK :?: '

ok -c'<command>' may have detrimental affects in some cases depending on how a package is built <important>
or in some other shell or a set default path that is not posix
or the newest posix
Do they change posix? if yes, why?

In the end,
isn't knowing where the tools are in the tree, almost as important as the current posix standard?

what about su --login --command='<command>'
what are the possible implications there?
apologizes if that sounds like I'm pushing :evil:
it must be in my nature :oops:
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: Debian buster: are you testing?

Postby xepan » 2018-12-18 10:26

llivv wrote:man ...

I always check the funny-manpages first of all. If they fail, i check the manpages-posix. https://packages.debian.org/stretch/manpages-posix
iow: confusing, huh? :-)
To answer your question: to me the actual posix standard usually isn't important (but i think that is the wrong approach, depends with who you speak, and about what, i guess).
xepan
 
Posts: 89
Joined: 2018-11-28 06:38

Re: Debian buster: are you testing?

Postby llivv » 2018-12-18 10:43

xepan wrote:
llivv wrote:man ...

I always check the funny-manpages first of all. If they fail, i check the manpages-posix. https://packages.debian.org/stretch/manpages-posix
iow: confusing, huh? :-)
To answer your question: to me the actual posix standard usually isn't important (but i think that is the wrong approach, depends with who you speak, and about what, i guess).

indeed :)
oh so many issues above.
open group
DOJ
knighthood
(world pease)
tanks for the non-free
I'll now have to start watching that too...... 8) bourne
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: Debian buster: are you testing?

Postby Wheelerof4te » 2018-12-30 20:53

I won't be testing it, sadly.
Buster has weak security support, as do all testing releases. Even Chromium isn't in the repo atm because of a source package renaming.

Looking forward to it, though. Finally, Wayland is default on GNOME.
Wheelerof4te
 
Posts: 1423
Joined: 2015-08-30 20:14

Re: Debian buster: are you testing?

Postby Bulkley » 2019-01-04 22:25

I tried the upgrade again. Same problems as before. Ir failed to start blind portmap service and it failed to raise network interfaces. It also failed to recognize my computer ID. I've been doing dist-upgrades for a couple of decades and Buster is the only one that has ever stopped me. There must be some radical changes in there.

One thing this experience reinforces is the need for a good clone to fall back on.
Bulkley
 
Posts: 5845
Joined: 2006-02-11 18:35

Re: Debian buster: are you testing?

Postby Head_on_a_Stick » 2019-01-05 09:39

@Bulkley, if you post the full output of
Code: Select all
apt-get -s dist-upgrade

then we may be able to help :)

I had to get rid of my buster system[1] but I've reinstalled stretch and I'll be dist-upgrading it on the 12th (when the transition freeze starts) so I'll post back then.

[1] I broke it :D
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10613
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian buster: are you testing?

Postby Wheelerof4te » 2019-01-05 11:38

Head_on_a_Stick wrote:[1] I broke it


How does someone experienced like you break testing so fast? :D Makes me kinda worried for my Sid laptop, haha.
Wheelerof4te
 
Posts: 1423
Joined: 2015-08-30 20:14

Re: Debian buster: are you testing?

Postby Head_on_a_Stick » 2019-01-05 11:55

Wheelerof4te wrote:How does someone experienced like you break testing so fast? :D

*Whispers* I'm not really that experienced with Debian, I'm just good with a search engine and an expert bullshitter :mrgreen:
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10613
Joined: 2014-06-01 17:46
Location: /dev/chair

PreviousNext

Return to Debian Development

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable