General :: Check What Packages Were Removed?
Jan 25, 2010
I've just joined this LQ forum as I couldn't find my answer on the web.
I am trying to find if there is a way to check/find out what packages were removed. In other words, I am looking for the history of packages that were ever removed.
I already know how to find what packages were installed using <rpm -qa> command, but it doesn't tell what has been REMOVED.
For example, how do I know if the <gcc> package was ever installed before, and when it was removed?
View 6 Replies
ADVERTISEMENT
Jun 23, 2011
OS: RHEL / CentOS If I use "yum" to add / erase packages, OS will log the info to file /var/log/yum.log.
But if use "rpm -e" to remove a package, there is no related log file to show which rpm package got earsed. I have to run "rpm -qa > /tmp/$TIME", and then diff the /tmp/$TIME file to get the difference.
Is there is command to show the erased packages (erased by using rpm -e)?
View 1 Replies
View Related
Jan 29, 2010
I've been reading up on ssh and I don't want anyone to connect to my computer. I am not interested in remote connectivity at all. Should I uninstall ssh? I ran Code: apt-get remove ssh and debian returned "package ssh is not installed. 0 packages removed."
I also looked online and found out about /etc/ssh/ssh_conf but all of the lines on my computer were #'d out. I also added "PermitRootLogin no" at the end. Am I safe from ssh attacks if I don't have ssh? Might be a stupid question but I don't want to fall victim. edit: it seems as though I -do- have openssh-client and openssh-server installed. Should I just leave my ssh config with PermitRootLogin no or apt-get remove openssh-client openssh-server.
View 9 Replies
View Related
Apr 13, 2010
KDE 4.3 squeeze-SID
I've got a strange problem with my last "aptitude safe-upgrade". It had removed all my kde 4.3 and packages I have installed, I don't know why!
This is what aptitude removed :
$ dpkg -l | grep ^rc |awk '{print $2}' | xargs echo .....
I reinstalled kde-full (kde 4) but now with an aptitude safe-upgrade or dist-upgrade. It wants to remove my debian-multimedia keyrings and my wine-unstable and others each time.
# aptitude -s safe-upgrade
Les NOUVEAUX paquets suivants vont etre installs : <<<<<<<<< #new packages will be installed
libparted0debian1{a} libva1{a} libx264-92{a} libxklavier16{a} mysql-server-core-5.1{a}
Les paquets suivants seront ENLEVES : <<<<<<<< # packages will be remove .....
Here is my pref list :
Package: *
Pin: release o=apt-build
Pin-Priority: 989
Package: *
Pin: release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages
Pin-Priority: 988
Package: *
Pin: release o=Debian,a=unstable,l=Debian
Pin-Priority: 987
Package: *
Pin: release o=volatile.debian.org,a=stable,l=debian-volatile
Pin-Priority: 986
Package: *
Pin: release o=Debian,a=stable,l=Debian-Security
Pin-Priority: 985
Package: *
Pin: release o=Unofficial Multimedia Packages,a=stable,l=Unofficial Multimedia Packages
Pin-Priority: 984
Package: *
Pin: release o=Debian,a=stable,l=Debian
Pin-Priority: 983
Package: *
Pin: release o=Debian,a=testing,l=Debian-Security
Pin-Priority: 982
Package: *
Pin: release o=Unofficial Multimedia Packages,a=testing,l=Unofficial Multimedia Packages
Pin-Priority: 981
Package: *
Pin: release o=Debian,a=testing,l=Debian
Pin-Priority: 980
And my sources.list:
# SID [URL]
# LENNY [URL]
# SQUEEZE [URL]
View 6 Replies
View Related
Apr 17, 2009
I've recently removed some packages and now have a problem with fonts. how to get list of removed packages (for example, last 10)?
P.S. I'am using yum-remove-with-leaves plugin.
View 1 Replies
View Related
Apr 26, 2011
I removed the linux-image-2.6.32-31-generic package (and all the older ones) from my 64-bit Lucid Lynx machine. When I boot up, the grub menu only has memtest as a choice.
I am able to boot the machine with the LiveCD and can mount the drive. (look like it's read only mode right now.) But now, how do I reinstall the linux-image-2.6.32-31-generic package(or any package for that matter) onto the disk partition that represents the machine?
View 2 Replies
View Related
Jun 12, 2011
Is there any way to find out what packages were removed by the last 'sudo apt-get autoremove' command? Is that info in a log somewhere? I am setting up a recently installed minimal install and my last autoremove seemed to remove some dependencies which has in turn killed my network connections, wired and wireless.
View 2 Replies
View Related
Dec 28, 2008
As a follow-on to something Telemachos said in another post:
Quote:
Originally Posted by Telemachos
You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:
Code:
If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:
Code:
I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.
For example, the linux kernels I have installed are:
Code:
Also, the linux-headers packages I have installed are:
Code:
So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:
Code:
I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?
View 3 Replies
View Related
Jul 4, 2010
I've been a long time ubuntu/debian user, and I decided to give fedora a try. Durng my first set of updates after install, the updater (gpk) seemed to stall on an 'updating libraries' step (it lasted for over 12 hours). Anyway, I force quit the program, restarted the system, and all appears fine. What I wanted to ask is this; is there some way to check the yum log to see if the update completed successfully, or an equivalent to 'apt-get -f install' to fix any broken/partially installed packages.
View 3 Replies
View Related
Dec 14, 2009
After yum -y update I get this at the end of the process. What should I do, have no idea...is it mandatory to erstart with right kernel for each package?
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
kernel-uname-r = 2.6.27.21-170.2.56.fc10.i686 is needed by (installed) kmod-ndiswrapper-2.6.27.21-170.2.56.fc10.i686-1.53-5.fc10.17.i686
kernel-uname-r = 2.6.27.21-170.2.56.fc10.i686 is needed by (installed) kmod-wl-2.6.27.21-170.2.56.fc10.i686-5.10.79.10-2.fc10.i686
[code]....
View 7 Replies
View Related
Mar 11, 2009
I've installed Fedora 10 Gnome from DVD. How do I let yum and "Add/Remove Software" first check the DVD before downloading packages from the Internet?
View 1 Replies
View Related
Jun 24, 2011
I've been having trouble with CUPS.I uninstalled it and I wanted to re-install it. When I removed CUPS some other files were removed too. I don't have an option of installing the software or updating a system, in the Control Center.
View 1 Replies
View Related
Nov 24, 2010
I've been google'ing around recently for some good solutions for creating local yum "update" repositories without syncing entire repositories. (or adding hundreds of exclude statements in config files)
I have several boxes with a common base build (centos 5.5/x86_64), one has nagios3, another has apache, and another tomcat6 (also a couple of others) For tomcat and nagios I'm obviously using 3rd party repositories (jpackage, epel, rpmforge to name a few) Everything is installed via RPM from kickstart.
I would like to make an updates repository which contains the updates for everything that's installed (including centos base).
Updates will be downloaded on a separate box, but not sure how to get the list of packages required on that box where the packages are not actually installed. I've looked at reposync and mrepo, but appear to be syncing from what's available rather than what's required.
I was hoping that I can provide an "rpm -qa" output, compare this to a "yum list" or perhaps running "yum check-update" on a list rather than installed packages. I could then use the yum-downloadonly module to get the packages which have changed from available sources.
View 2 Replies
View Related
Nov 6, 2010
I just installed ubuntu 10.10, and im triying to update, when i uncheck the packages that i dont want and click on the "install updates" button in the update manager, the update manager check it again and download the packages that i dont want
View 1 Replies
View Related
Sep 21, 2010
How to add packages using X-Window's add/remove packages option in RHEL-5.3 as it shows only the currently installed package and and does not show any thing when we click the button "available packages" ?
View 2 Replies
View Related
Jan 9, 2009
I accidently removed bottom panel of suse 11.1.Please be so kind to help me to get it back my bottom panel.
View 6 Replies
View Related
Aug 26, 2010
I must have missed the memo and was just curious why the Thanks button was removed? Or was this just an effort to make us type it in now? (not that I mind )
View 3 Replies
View Related
Jun 8, 2010
By accident, I used rm on a file I didn't want to delete. Is there any way that I can get it back under Linux?
View 4 Replies
View Related
Jul 3, 2010
I used Windows to reformat my Ubuntu partition and now I can't boot anything. What's the best way to recover my netbook? I'm only able to use a 256 MB flash drive.
View 1 Replies
View Related
Mar 5, 2011
I want to remove all java packages icedtea open jdk jre and also relevent firefox plugins and reinstall latest jre with fresh firefox plugin.
View 1 Replies
View Related
Apr 14, 2011
By mistake i deleted imp folder which as certain imp files created, so i want to reterive it ? is it possible by using any specific linux commands only
View 4 Replies
View Related
May 9, 2010
I installed Ubuntu 10 over the weekend at the request of a friend. Unfortunately it doesn't work for everything that i use my system for daily. So i called my friend and asked him how to remove it. He told me to boot to the cd and delete the partitions and then use the windows cd to fix the master boot record. Piece of cake, until I deleted the partitions and remembered Windows 7 doesn't have a recovery console to repair the boot record....
So now I'm stuck with my computer booting up and showing a grub rescue> prompt and nothing else. I called my friend and all he said was way to go, you're screwed now. Is there a way to fix this without losing everything in my windows installation?
View 5 Replies
View Related
Jul 2, 2010
I have accidentally removed my apache2 startup file /etc/init.d/apache2 using rm /etc/init.d/apache2 command.
How can I get that back?
View 5 Replies
View Related
Aug 25, 2011
Consider the following:
mount | grep home
type reiserfs
rm -Rf /home/user/over_9000_little_and_big_super_secret_files/
# oops, I should have shredded it instead.
How can I properly and securely "initialize free space" to ensure that no additional info can be restored restored by digging in free space (Preferrably without stopping or disturbing the filesystem much.) Is dd if=/dev/frandom of=/home/qqqqq really secure for this (tails, journal, etc.)?
View 4 Replies
View Related
Jan 31, 2010
I recently had a problem with one and only one user on an Ubuntu 9.10 desktop system.
[URL]
The user who installed Ubuntu eventually could not log into the desktop (Gnome) without getting a small X-term appearing in the upper left-hand corner of the screen. I have since fixed the problem by reinstalling and using frequent logouts and reboots to see if the original problem could be re-created.
Other users, most of whom were also admin who could use sudo and were created after the installing user, could log into Gnome just fine. The installing user was fully deleted and re-created (home directory) and not installed with its backed up information. This still did not fix the problem.
My question is this. What could be left behind and possibly in which files by the installing user that would still affect this user even after that user was completely removed and re-created?
The only thing I have not done on the re-installation, is I have not installed Konqueror. I have installed konsole, which installs some KDE components, and that was done the first time.
I don't want to install Konqueror and have the same problem occur again at least without a place to look, so I don't have to re-install. I did make the classic mistake of not looking in the logs, specifically xsession errors. I won't make that mistake again.
View 2 Replies
View Related
Jan 15, 2010
centos 4.4 - 3 of 4 hard drives removed now won't boot- can't find lv so kernel panic
View 2 Replies
View Related
Mar 11, 2011
I have a 4 disk raid 5 array on my Ubuntu 10.10 box. They are /dev/sd[c,d,e,f].Smartctl started notifying me that /dev/sde had some bad sectors and the number of errors was increasing each day. To mitigate this I decided to buy a new drive and replace it.I have an external 4-bay disk enclosure. I failed /dev/sde via mdadm:
Code:
mdadm --manage /dev/md0 --fail /dev/sde
mdadm --manage /dev/md0 --remove /dev/sde
[code]...
View 5 Replies
View Related
Sep 2, 2010
I have recently purchased a new laptop, which came with Windows 7 pre-installed. I immediately installed Ubuntu alongside it with a dual boot. At first it worked fine, but when I restarted after the first time I used Windows, I ended up with an 'Operating system not found' error. I was able to reinstall the Grub bootloader using an Ubuntu Live CD, which appeared to fix the problem, but the next time I loaded Windows 7 and rebooted, the problem reappeared I think the problem is that Windows 7, for whatever reason, is somehow removing or disabling Grub.
View 1 Replies
View Related
Sep 15, 2010
i am a new guy here..i unfortunately removed all my files from /home folderrm -rf ~ /. picasa / As some of the files were important i tried recovering data using foremost..i used the command foremost -i /dev/sda1 -o /mnt/foremostThen there started a process..it was downloading something..and i left the computer for an hour or so..when i return there was nothing on screen..so i reloaded the system..And after that when i try to login i get the error"xsession: warning: unable to write to /tmp; xsession may exit with an error"..so when i googled for it i found its because there is no memmory in my /root ..so i tried login via console (tried ctrl+alt+f1..after the login screen appears..when i type ctrl+alt+f1 i get a black screen)..but nothings happening...how can i login via console..can my datas be recovered.
View 6 Replies
View Related
Feb 3, 2010
I am new to Debian but not Linux-based systems. I have been experimenting a lot with Debian Lenny/Squeeze. I am growing more comfortable each day with the Debian design. Yet there remain many unexplored areas. I am creating a migration check list. Things to check, prepare, or reconfigure when moving from one Linux-based system to Debian.
I have a good computer background and my current check list probably is fairly good. Yet I would appreciate input and opinions from experienced Debian users of things to watch in such a migration. Login defs, passwd/group files, different directory locations, keymaps, services and daemons, etc. I am not too concerned with the desktop as I plan to stick with KDE 3.5 for a while and I can basically move those settings across.
View 4 Replies
View Related