On Thu, Jul 10, 2025 at 07:13:48 -0400, Lee Winter wrote: > [A1] is that netinstall left /etc/sudoers missing and /etc/sudoers.d/README > empty -- there are no users at all. But that README file contains a strong > recommendation for using visudo, which no longer exists. > > [A2] is that visudo is missing even though lots of doc still insists that > it be should be used. I even looked for it in my SOURCE packages and with > apt install. But I found nothing.
It sounds like sudo is not installed, which is completely normal if you supplied a root password during the installation. If you want to use sudo at this point, you can do: $ su # PATH=/usr/sbin:$PATH # apt update # apt install sudo # adduser "$LOGNAME" sudo After this, you will need to log out and back in to update your group memberships. The final command (adduser) will place your regular account into the sudo group, but this only takes effect at login time. > url = " > https://blog.usro.net/2024/11/how-to-build-a-debian-package-from-source-a-step-by-step-guide > " <https://wiki.debian.org/BuildingTutorial> would probably be a better starting point. (This page is not easy to find! I had to give up traversing the wiki and resort to a Google search. I'm astonished that <https://wiki.debian.org/Source> did not exist, nor give any relevant existing pages.) The unofficial IRC channel also has some extremely terse instructions for building packages from source: 07:24 ->[dpkg] msgsimple sid backport 07:24 Irssi: Starting query in libera with dpkg 07:24 =dpkg> First, check for a backport on <debian-backports>. If unavailable: 1) Add a deb-src line for sid (not a deb line!); ask me about <deb-src sid> 2) enable debian-backports (see <bdo>) 3) apt update; apt install build-essential; apt build-dep packagename 4) apt -b source packagename 5) dpkg -i packagename-ver.deb To change compilation options, see <package recompile>; for versions newer than sid see <uupdate>. > [C] is that same doc in the url above wants to apt install source > <package_name>. So it wants to get a new copy of the source package. But > I already have a copy; i just need to know where to put it? When compiling from source, it doesn't matter where you put the source code. Most people will either create a subdirectory underneath $HOME and do all their compiling/packaging work there, or create a subdirectory underneath /tmp or /var/tmp, or simply do all the work directly in /tmp, especially if they expect to throw it away when they're done. The most important point is: * Do all your package building AS YOURSELF, NOT AS ROOT. Once you understand this rule, then "where" is "wherever you have write permission", which means your home directory, or a writable temp dir. The commands you run to build the package will work on files in your current directory, so wherever you decide to do your work, you just mkdir that place, and then cd to that place. That's it.