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)?
I have ran into a bit of a problem. my server(10.10) is hosting a website with no problems whatsoever. I decided to install an extra hard drive, and format. i did both, and turned off my server after some more configuration. After a while, I decided that the new hard drive was a little loud for my liking, so I removed it. I had not put any files on it. I rebooted and saw a message that said this:Quote:fsck from util-linux-ng 2.17.2/dev/sda1: clean, 101202/2351104 files, 1516082/9393920 blocksI think that when I turned it off, it was formatting. How do I stop this from halting the boot? I can get by it by pressing the b or a key.
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?
Is there something like GtkRecentManager that will give you a list of recently-used or most-used applications instead of files, or will GtkRecentManager give you apps too?
Is there a way to see the packages that I have recently installed? I'm trying to remove a program and I'm not sure what the names of the packages that came with it are.
Using Ubuntu Lucid with Gnome desktop.I was just playing around trying to find a media player I liked and installed Bangarang via the Software Centre. This took an absolute age and now I realise why - it has basically installed the entire KDE environment and associated lib packages as well.I have found /var/ log/ dpkg.log shows what has been installed and of course I can wade through that to make a list of all the packages and uninstall them all via Synaptic. But that will take a long time to do.
Is there anyway to somehow automate rolling back any package changes since a certain time?I've checked the man for dpkg and I can't see any mention of anything like this.
Recently I have installed DockbarX and Cardapio. After installation they are supposed to be found in the Add to Panel items, but both of them are not there.I can run them directly without any problem. Is there anything else I should do manually? I have tried pkill gnome-panel to restart the panel as well.
Fedora 11 update released today creates a dependency issue in my x86-64 system: Processing Dependency: kernel-uname-r = 2.6.29.5-191.fc11.x86_64 for package: kmod-wl-2.6.29.5-191.fc11.x86_64-5.10.91.9-3.fc11.1.x86_64 # yum info kernel-uname-r produces "no matching packages to list" the yum info pack tells me kmod-wl is: Metapackage which tracks in wl kernel module for newest kernel so it seems important to have it up to date. What should I do?
I realise KPDF is quite old now but as this issue may recur when I move to a newer distro (well, newer than Hardy) with Okular I thought I'd better ask.I use Gnome, but prefer KPDF to evince when viewing PDF files. However, KPDF's "Open Recent" list behaves very oddly - there's no apparent way to clear it, and items which were on the list one day aren't on it another day (coinciding with old items reappearing on the list).
Is there any way to clear this list?Similarly, is there any way to clear the list of recently opened files in the "Location" drop-down box in File-Open? (which also seems to mysteriously lose list items inbetween reboots).
I'm working on a script that keeps track of user explicitly installed packages (no deps, no default packages), where can I found a list of ubuntu natty preinstalled packages ? Is there some file in the filesystem or in installation disc ?
I wounder how I should do to find out what packages I have explicitly installed on the system, NOT including the dependencies. The purpose is to get a figure of what packages I need to install when I reinstall my system.In Gentoo one can look at the world-file (/var/lib/portage/world) which is a list of my explicitly installed packages, not including system packages (located in /var/lib/portage/system)
I want to list all installed packages by keyword. For example I want to know what packages were installed related to "game". How can I do that in Fedora?
I tried 'yum list installed', 'you search' ... but still can't find a solution. I'm not a yum expert .
I'm trying to list installed packages on a remote server. I don't see a way to do this with either yum or rpm.In particular, I'd like to list installed packages on a remote server, and list only those packages installed from our own repo
I get annoyed sometimes that from one Fedora release to another, some programs get renamed or put into different packages. Examples:
* Gnome's volume control applet. Used to be provided by gnome-media, now it's moved to control-center. Worse, the command itself was renamed from gnome-volume-control-applet to gnome-sound-applet, so I couldn't even try a `yum provides` search to locate it.
* Gnome's Disk Usage Analyzer tool. Used to be in a package by itself, baobab. Now it's provided by gnome-utils.
Is there a wiki or something where the full list of all renamed/repackaged programs can be found? I'm not a Gnome desktop user, so, while I'm sure all the packages I like from Gnome are just there out-of-the-box for most users, it doesn't help me very much. The volume control applet for example is extremely useful for other desktop environments (and Gnome itself really doesn't have much need for it anyway, since they have their own built into the window shell).
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?
My problem is that I am unable to do a routine upgrade of packages. When I try to perform an upgrade, the following occurs:
Code:
$ sudo aptitude dist-upgrade Reading package lists... Done Building dependency tree
[code]....
If I try to install another package, I get the following message:
Code:
E: I wasn't able to locate file for the tzdata-java package. This might mean you need to manually fix this package. E: I wasn't able to locate file for the tzdata-java package. This might mean you need to manually fix this package. E: Internal error: couldn't generate list of packages to download
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 .....
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.
I recently upgraded from F13 to F14 using "preupgrade". This is the first time I've used preupgrade. So far, F14 is running OK. There are some leftovers from F13 and I'm wondering if this is correct.
Q1: There are 176 F13 packages remaining. [alfrugal@localhost Documents]$ rpm -qa | grep fc13 | wc -l 176 Is this OK? FWIW, after the upgrade, I ran "package-cleanup --orphans" as recommended by the "preupgrade" page on the Fedora Project wiki.
Q2: Also, my GRUB menu was correctly updated for F14, but it still contains the three entries it had for F13. Is it normal for the preupgrade process to require the user to clean up the obsolete entries from the GRUB menu?
I am not much experienced with Linux systems and commands. I have been searching with Goggle and trying to solve. Today I had accidentally removed the boot grub menu list. There is a backup file. Now my system boots to >grub command. I have tried all sorts of things from live CD to boot the system I have tried Super Grub also. I am no able to go to the directory where the back up boot menu list is available and change the name from the live CD. Can any one help me with commands to go to the directory and rename the file for booting.
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?