Revert system changes after apt-get upgrade on Linux Mint/Ubuntu [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I'm using Linux Mint 11 64 bit. I needed some packages to install newest software and found them in ubuntu repositories.
To do this I added
deb http://security.ubuntu.com/ubuntu oneiric-security main
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ oneiric main
to my
/etc/apt/sources.list.
I made automatically sudo apt-get update + sudo apt-get upgrade and it installed ~900 packages from that repository (and removed some of my Mint too...). My system changed to Ubuntu-like dist, installed new graphical interface - probably GNOME3 (I liked my GNOME2 really much..). I am now unable to start GNOME2 at all.
Is there any way to undo this changes? I've removed that lines from sources.list, tried sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
but it didn't help.
Thanks.

You can use ppa-purge - install with sudo apt-get install ppa-purge
See this article for more info
That will roll back your packages so it is safe to remove the repo and keep the software and your system wont blow up.
EDIT (based on user1131467's comment): for full-blown repositories, these answers will help, but it is much more manual:
https://askubuntu.com/a/3675/38901 and
https://superuser.com/a/195071/110574

No sorry, you are pretty screwed. You now have newer versions of most of the packages, so even if you remove the oneiric repo it will still opt to keep the new ones.
The best option is to backup and reinstall.

Related

How to install software on a prorietary linux distro with no repos given? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 12 months ago.
Improve this question
I want to install some basic packages on a proprietary Linux distro based on RHEL (I think).
I tried going the usual dnf install foo way, but quickly found out there are no repositories in /etc/yum.repos.d/.
Since it is based on RHEL, I tried adding some RHEL repos, but still cannot install anything from them. I also tried downloading a package and install it from a local repo as explained here. But no packages are detected in the repo. My guess is that the proprietary distro is (too?) different from RHEL so those repos are not recognized.
So my question is: How do I install packages on a proprietary Linux distro? Is it only possible to install from repos that are meant precisely for the distro I am using? Or could it be that repos for another distro might work? The only other way I can think of is to try to find all the Git repos of all the packages I want to install to install them from source.
There are few possible ways:
activate your RHEL machine.. This include create account in RH. And
its free for small number of machines. More info here.
Download the package and do a local install:
dnf localinstall package.rpm
You should download and install all dependent packages also.
To update you can use nondocumented option:
dnf localupdate package.rpm

apt package (kodi-inputstream-adaptive) does not upgrade to newest version [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I want to install this package to utilize some kodi addons. It needs version 2.4.3 at least but I can not update it to the newest version because apt thinks this is already the newest version but it definetely is not.
This is what somebody else already helped me with:
Your system must have issues getting newer updates because Debian Buster ships with IA v2.4.4:
https://www.deb-multimedia.org/dists/stable/main/binary-armhf/package/kodi-inputstream-adaptive
This happens when I want to install newest version:
pi#raspberrypi:~ $ sudo apt-get install kodi-inputstream-adaptive
Reading package lists... Done
Building dependency tree
Reading state information... Done
kodi-inputstream-adaptive is already the newest version (2.4.2-1~buster).
0 upgraded, 0 newly installed, 0 to remove and 154 not upgraded.
You could try to add it manually.
Add the following line to /etc/apt/sources.list:
deb http://www.deb-multimedia.org buster main
Update packages:
sudo apt-get update
Install keyring:
sudo apt-get install deb-multimedia-keyring
Then try to install it again
sudo apt-get install kodi-inputstream-adaptive
Reference.

apt-get dist-upgrade wants to remove kde desktop [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have installed Debian Testing on my laptop. Usually I upgrade my system with the following commands: First sudo apt-get update and second sudo apt-get dist-upgrade. Usually this works perfectly, but yesterday, when I wanted to invoke the dist-upgrade command, apt stated that this command would remove the following packages
kde-config-touchpad kde-plasma-desktop kde-standard kio-extras libgl2ps0
plasma-desktop
The problem is that removing the kde-plasma-desktop would uninstall my whole desktop environment. Now the questions arises, why apt wants to do this. I've already heard that one has to be careful with apt-get dist-upgrade but I'm still surprised. What is the reason that apt marks kde-plasma-desktop as a package to remove and what can I do to tell apt that kde-plasma-desktop is important? Is it an error in the database of apt or is it related with other packages which shall be updated?
Example:
Package A in version 1 depends on package libB in version 1. Now both packages receive an upgrade and it can happen that the package libB upgrade arrives in Testing earlier than the package A upgrade. So the dependency for package A v1 (libB v1) is marked for removal leaving package A with a missing dependency. Hence it will also be marked for removal.
That's business as usual in Sid and also happens once in a while in Testing. Usually the version 2 upgrade of package A will also arrive within a few days and all is good again but still: that's Testing. Being careful is mandatory.
With bigger dependency trees things can become more complicated. If there is a package C that also depends on libB v1 but does not have a new version based on B v2, then either libB v1 and v2 can be made co-installable or C has to be removed from the package archive.
In KDE lots of things are moved around currently. KF5 is way more modular than KDE4 and modules are added/removed/moved around as needed.

"apt-get install" does not ask for confirmation as "yum install" [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When using yum install firefox it will ask me for confirmation if I would really like to do it, but apt-get install firefox it will not ask me. Is there a way that it will ask me? Thank you
apt-get will only ask for confirmation in certain cases (if other packages are pulled or if installed packages are modified or removed); see this superuser answer for details.
To always see what apt-get is going to do before actually installing it, you may use the -s (simulate) flag.
apt-get -s install firefox
apt-get will tell you what it would do when installing firefox, but would not actually do it. If you are satisfied you can then run the install command again without the simulate flag.
apt-get by default needs root privileges to run. If you type apt-get install firefox it should ask you about root privileges. sudo apt-get firefox should prompt you for your password. So as you can see, it's an indirect way of asking for confirmation. It cannot install anything unless you confirm your password.

RedHat yum subversion installation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to install subversion on RedHat linux. But there is a bit problem with broken yum package manager. I have configured some own repositories from CentOS, but unfortunately there is still one broken dependency:
libneon.so.27
I have tried to download it on my own, but its dependencies are quite complex, it will cost me a lot of time to downlaod them all. Do you have any hints?
(Links to some repos with that libneon (rpmforge i have tried with no success))
You can download rpm forge repository from the links 32 bit or 64 bit depending upon your machine configuration. rpm forge package has most of the useful packages and dependencies. After that try the following command:
yum install mod_dav_svn subversion
or just try
yum install subversion
In addition to subversion You can also use GIT which is similar to svn but has its own additional benefits.
If you like you can install git using the command:-
yum install git

Resources