Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an idea-question. There is a clean install of Bullseye on a VPS. This distro has new Bind, new Dovecot, new Apache, etc. If I back it up and then re-install it EXCLUDING new Bind, new Dovecot and all the other pre-installed packages that I do not need and then install slighlty older versions of Bind, Dovecot and so on, will that potentially work or will that create a mess of dependencies hell?
Can I also install just bare metals of Bullseye without Apparmor, without NFtables and some other "parts" that I do not need and do not like? How? By the way, are NFtables replacable? I'd like to stick to normal iptables.
Would really appreciate any pointers, advice, suggestions at all. Many thanks in advance!
It appears you can do the removals of the two mentioned program without any others being removed. For running the older versions you will want to look into apt-pinning and keeping a program at a fixed version using it. The dependency problems of doing this who knows until you get into it one thing you will miss is the security updates which in Apaches case just had one recently I remember seeing installed. Why would you want the older versions of the software and no security support in using them? The things you want to remove give it a try and see if it breaks the system in which case you get to fix it or restore the backup to get up and running again.
Code:
root@bullseye-raspi:~# acp apparmor
apparmor:
Installed: 2.13.6-10
Candidate: 2.13.6-10
Version table:
*** 2.13.6-10 500
500 http://deb.debian.org/debian bullseye/main arm64 Packages
100 /var/lib/dpkg/status
root@bullseye-raspi:~# agrs apparmor
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
apparmor
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Remv apparmor [2.13.6-10]
root@bullseye-raspi:~# acp nftables
nftables:
Installed: 0.9.8-3.1
Candidate: 0.9.8-3.1
Version table:
*** 0.9.8-3.1 500
500 http://deb.debian.org/debian bullseye/main arm64 Packages
100 /var/lib/dpkg/status
root@bullseye-raspi:~# agrs nftables
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
nftables
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Remv nftables [0.9.8-3.1]
root@bullseye-raspi:~# acp iptables
iptables:
Installed: (none)
Candidate: 1.8.7-1
Version table:
1.8.7-1 500
500 http://deb.debian.org/debian bullseye/main arm64 Packages
root@bullseye-raspi:~# alias acp
alias acp='apt-cache policy'
root@bullseye-raspi:~# alias agrs
alias agrs='apt-get -s remove'
I have an idea-question. There is a clean install of Bullseye on a VPS. This distro has new Bind, new Dovecot, new Apache, etc. If I back it up and then re-install it EXCLUDING new Bind, new Dovecot and all the other pre-installed packages that I do not need and then install slighlty older versions of Bind, Dovecot and so on, will that potentially work or will that create a mess of dependencies hell?
Can I also install just bare metals of Bullseye without Apparmor, without NFtables and some other "parts" that I do not need and do not like? How? By the way, are NFtables replacable? I'd like to stick to normal iptables.
Would really appreciate any pointers, advice, suggestions at all. Many thanks in advance!
Yes, you can, as the previous post explained.
But the biggest question here is WHY?
Thank you so much, Stephen. Yes, I can of course give it try and see if it works. It's a brand-new VPS install so I can mess it up and break it up as much as I want just to test it around. Then a simple re-install will fix it all.
However, I would hate to configure it, migrate all the data and software there just to find out it will have big issues later. This is why I asked first for somebody to advise if this might be the case.
The reason for keeping my old versions is that they are completely different and extremly customized. I have of course tried the new ones before and it did not work at all. It simply breaks it all. The new versions mean to me "nothing works" without any options to fix it as the new changes do not support my customizations at all for the new versions having it totally new and differently re-built.
I am not a bank or some millitary base with nuclear missiles to be that concerned about security. I am completely fine with older versions. They did not become totally insecure all of a sudden. They are just slightly less secure and I am OK with that.
Thank you so much, Stephen. Yes, I can of course give it try and see if it works. It's a brand-new VPS install so I can mess it up and break it up as much as I want just to test it around. Then a simple re-install will fix it all.
However, I would hate to configure it, migrate all the data and software there just to find out it will have big issues later. This is why I asked first for somebody to advise if this might be the case.
The reason for keeping my old versions is that they are completely different and extremly customized. I have of course tried the new ones before and it did not work at all. It simply breaks it all. The new versions mean to me "nothing works" without any options to fix it as the new changes do not support my customizations at all for the new versions having it totally new and differently re-built.
I am not a bank or some millitary base with nuclear missiles �� to be that concerned about security. I am completely fine with older versions. They did not become totally insecure all of a sudden. They are just slightly less secure and I am OK with that.
Then it makes absolutely no sense to upgrade to newer version of the OS only to have to jump through hoops to get old software to possibly work for you. You may as well use the old OS and software it is designed for and take the security risks there, you already know how that works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.