Forum › Forums › New users › New Users and General Questions › antiX rolling – how to dist-upgrade and how to install software
- This topic has 8 replies, 4 voices, and was last updated Feb 17-9:55 am by anticapitalista.
-
AuthorPosts
-
February 13, 2018 at 3:03 am #6507Member
Xaver
With Arch I have some experience, but so far none with Debian rolling.
There are not many informations in the web on system maintenance of Debian rolling.
The most detailed I have found on the Siduction site:
https://manual.siduction.org/sys-admin-apt#apt-upgrade
https://wiki.siduction.de/index.php?title=Wie_kann_ich_Instabilit%C3%A4ten_vermeiden%3F (sorry – no english version)For best stability they claim:
Never do a dist-upgrade in X.
Never install software in X, if it contains data, that are related to X (i.e. all gui-applications).
Allways perform these operations in runlevel 3 (init 3).
Removal of such software should be done in runlevel 3 too.
This makes system maintenance more complicated than it is in Arch.Dist-Upgrade:
Run ‘sudo apt-get update && sudo apt-get dist-upgrade -d’ in X.
(So you can still use your PC, while the dist-upgrade is downloaded.)
Then log out, switch to init 3 and run ‘apt-get upgrade && apt-get dist-upgrade’.Install software with data related to X:
Start synaptic as normal user (/usr/sbin/synaptic) and only use it as a package browser.
Download the desired packages with ‘sudo apt-get install -d’.But then I do not know how to proceed further.
If I have downloaded several packages, which command should I use in runlevel 3 to install them all at once?February 13, 2018 at 4:18 am #6514Forum Admin
anticapitalista
::You can safely install in X, no need to drop to init 3.
Use the terminal and read CAREFULLY what it says it is going to do.
Do NOT blindly hit Enter to continue as you may find yourself with a broken system.apt-get update apt-get dist-upgradein a root terminal is all you need.
At times libsystemd0 may get installed.
This is usually ok, and it will be removed once the antiX nosystemd packages get up to date.- This reply was modified 5 years, 2 months ago by anticapitalista. Reason: fixed typos
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 13, 2018 at 5:01 am #6517Member
Xaver
::@ anticapitalista
Thanks – actually the siduction folks do not give reasons for their advice.Do you have the answer to my question:
If I only download packages via ‘apt-get install -d’,
which command would install all these packages at once?- This reply was modified 5 years, 2 months ago by Xaver.
- This reply was modified 5 years, 2 months ago by Xaver.
February 13, 2018 at 5:28 am #6521Forum Admin
anticapitalista
::You need to name the package eg
apt-get install diffuse -dand thenapt-get install diffuseThe -d switch seems pretty pointless to me.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 13, 2018 at 5:50 am #6523Member
Xaver
::@ anticapitalista
I agree. If there is no way to install the downloaded packages without naming them, ‘apt-get install -d’ is pretty pointless.
- This reply was modified 5 years, 2 months ago by Xaver.
February 13, 2018 at 6:07 am #6525Forum Admin
rokytnji
::Just a small example on how I rok and roll lately.
harry@biker:~ $ su Password: root@biker:/home/harry# apt update <snip> Building dependency tree Reading state information... Done 13 packages can be upgraded. Run 'apt list --upgradable' to see them. root@biker:/home/harry# apt list --upgradable Listing... Done fonts-opensymbol/oldstable 2:102.6+LibO4.3.3-2+deb8u10 all [upgradable from: 2:102.6+LibO4.3.3-2+deb8u9] libreoffice-base-core/oldstable 1:4.3.3-2+deb8u10 i386 [upgradable from: 1:4.3.3-2+deb8u9] libreoffice-calc/oldstable 1:4.3.3-2+deb8u10 i386 [upgradable from: 1:4.3.3-2+deb8u9] libreoffice-common/oldstable 1:4.3.3-2+deb8u10 all [upgradable from: 1:4.3.3-2+deb8u9] libreoffice-core/oldstable 1:4.3.3-2+deb8u10 i386 [upgradable from: 1:4.3.3-2+deb8u9] libreoffice-draw/oldstable 1:4.3.3-2+deb8u10 i386 [upgradable from: 1:4.3.3-2+deb8u9] libreoffice-gtk/oldstable 1:4.3.3-2+deb8u10 i386 [upgradable from: 1:4.3.3-2+deb8u9] libreoffice-impress/oldstable 1:4.3.3-2+deb8u10 i386 [upgradable from: 1:4.3.3-2+deb8u9] libreoffice-math/oldstable 1:4.3.3-2+deb8u10 i386 [upgradable from: 1:4.3.3-2+deb8u9] libreoffice-style-galaxy/oldstable 1:4.3.3-2+deb8u10 all [upgradable from: 1:4.3.3-2+deb8u9] libreoffice-writer/oldstable 1:4.3.3-2+deb8u10 i386 [upgradable from: 1:4.3.3-2+deb8u9] uno-libs3/oldstable 4.3.3-2+deb8u10 i386 [upgradable from: 4.3.3-2+deb8u9] ure/oldstable 4.3.3-2+deb8u10 i386 [upgradable from: 4.3.3-2+deb8u9] root@biker:/home/harry# apt dist-upgrade <snip> Writing Menu: jwm Writing Menu: fluxbox Writing Menu: icewm######################################################################################################################################################..] root@biker:/home/harry# apt -f install Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libqt4-opengl libqt4-script libqt4-xmlpatterns libqtwebkit4 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@biker:/home/harry# exit exit harry@biker:~ $Done while in a Icewm Desktop session on AntiX 15 . I am not running Testing repos though. Just plain olkd Jessie and Dave stable antix repo.
If I have downloaded several packages, which command should I use in runlevel 3 to install them all at once?
I don’t know. I install during a Icewm session. I like to install downloaded packages one at a time. To see what systemd stuff may be in it.
I usedpkg -ias root or sudo in terminal with that command to install. I’ll install Gdebi if I want a GUI way to do the same thing. We have special cli tools also in /usr/local/bin also for package installation.
cli-aptiX
Package installer button in the Antix Control Centre in your menu.I suggest you check out Dolphins Oracle helpful tutorial videos on youtube. If you find the spare time to do so. Give him a like while there.
https://www.youtube.com/channel/UCFWlej2CSKlXW5uE9opXukQ
Sometimes I drive a crooked road to get my mind straight.
Not all who Wander are Lost.
I'm not outa place. I'm from outer space.Linux Registered User # 475019
How to Search for AntiX solutions to your problemsFebruary 15, 2018 at 12:56 pm #6613Member
fungalnet
::I agree, I’ve had much more experience in Debian world than in Arch world, there are advantages to both, but this siduction advice seems very far fetched. As far as I know once X is running is running in memory and all X packages can be removed and it will still be running. Whether it will shutdown or will it restart after you butcher it is a different story.
But learning the use of apt and apt-get, and maybe dpkg, is essential. Now siduction is systemd based so don’t take everything they say so seriously because they have so weird daemons and services they are fighting while in X. That’s why we meet here 🙂anti-X - Adélie - obarun - systemd Free Space
February 17, 2018 at 9:21 am #6671Member
Xaver
::@ fungalnet
You are right, that the Siduction advice is very far fetched. I have asked about runlevel 3 in the Siduction forum. The answer is, that nothing terrible will happen, if I just use a root-terminal for dist-upgrades and installs.@ rokytnji
Your hint to use ‘dpkg -i’ leads in the right direction.
If I just download several packages to /var/cache/apt/archives/ in a root-terminal with ‘apt install -d …’,
all these packages can be installed at once with the command
‘dpkg -i -R /var/cache/apt/archives/’
This way you could easily check /var/cache/apt/archives/ for systemd dependencies before you install.- This reply was modified 5 years, 2 months ago by Xaver.
February 17, 2018 at 9:55 am #6675Forum Admin
anticapitalista
::This way you could easily check /var/cache/apt/archives/ for systemd dependencies before you install.
Or you can just simply read the message printed in the terminal after
apt-get dist-upgradeorapt-get install fooPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
-
AuthorPosts
- You must be logged in to reply to this topic.