I need to remove a lot of rpm packages and I would like to save some time and make things easier, but I am unsure of how to do it. Currently I just copy/paste over and over. My plan was to put the output of the command below into a text file, and use that text file to remove all the packages.
rpm -qa |grep xxxxx > file.txt
My question is how do I get that file to work with "rpm -e". I tried to insert the file using the less than symbol but that didn't work:
rpm -e --nodeps < file.txt
I'm using Ubuntu 10.04 and during my tries to free space I've removed several packages such as: openoffice, all editors, and some more packages such as players and printers drivers that I don't need and seem o.k to remove. However, after restart, the graphical interface doesn't load, I'm in the xserver, I have console but not gui. I was wondering if anyone can tell me which packages I should not remove or let me know of dependencies I need to consider when messing with packages?
When removing packages via Synaptics it gives the option of Mark for removal Mark for complete removal If I mark it for complete removal does it mean it will never be available from Synaptics again or does it mean that the whole package will be deleted from my system and have to be downloaded again if I want to install it again. I am never sure which to pick
I recently did upgrade from F12 to F13 using preupgrade, and I was following the guide from the Fedora project website [URL]
On the section Removing unsupported packages it shows how to find orphaned packages and sugest you remove them. I tried that, found a bunch of packages that I promptly erased. But then I came across
ModemManager-0.4-5.git20100720.fc12.x86_64
I thought "well I don't use a Modem" so I tried to yum erase it. I stopped when I saw that it was trying to also remove the dependencies, a bunch of NetworkManager packages.
My question is, why is ModemManager flagged as an orphan if it has packages depending on it, isn't that wrong?
And also, the recommendation on the guide to remove these packages can be dangerous to people who don't pay attention (imagine someone accidentally removing NetworkManager, no internet).
I will keep the "orphaned" package out of necessity, but something is wrong in this whole deal.
Are you using one of these ? : deb or rpm orphan ? Are they ok to remove old packages not used anymore , or have you got some others tools or intesresting tips for doing so
I'm getting some errors while trying to do an update:How can I know which are the apps that are causing this, and how should I remove/update these?This is my /etc/apt/sources.list
Code:
deb http://archive.canonical.com/ubuntu lucid partner deb-src http://archive.canonical.com/ubuntu lucid partner deb http://linux.dropbox.com/ubuntu lucid main deb-src http://linux.dropbox.com/ubuntu lucid main
I want to remove Evolution and install Thunderbird. I have a general question. WRT any given package, how can I determine if that package is required by any other packages so that I wouldn't want to remove it?
In trying to get something else working, I installed a newer version of the kernel from backports (I'm on 2.6.26 lenny and the backport kernel is 2.6.32). That failed, so I want to remove the backport kernel completely.
I tried:
Code:
and got:
Code:
Accept this solution? [Y/n/q/?]
I don't really understand how these metapackages work and I don't want to accidentally remove my currently-working kernel.
What's the correct way to remove all packages related to the backports kernel and leave the existing lenny ones alone?
I have a fresh Debian install, since this install was on a desktop, I had an internet connection and didn't notice (it was late, I was half asleep) I opted to download a whole load of packages I didn't really need. I thought all was doomed until I remembered that I have done another Debian install but a week ago on a laptop, which has a nice clean install without all the bloat.
So I ran dpkg --get-selections > selections and had it sent to my new desktop installation.
Now if I run dpkg --set-selections < selections followed by dselect-upgrade nothing happens. I assume this is because the smaller list contains all the packages 'to be installed' which already are, and all the missing packages are not being purged. Do I need to explicitly add all the packages I want to purge to the 'selection' list or is there a better way of doing it?
Why is this going on? I use this machine to watch media like heck I would remove these files and break 50%+ of my functionality. There is a whole pile of "red" entries in this repo and it's all multimedia stuff mostly.
I have an issue with packages. When I try to install any package then I receive error like this one below. e.g. install Lynx:
Code: # apt-get -f install lynx Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libperl5.10: Depends: perl-base (= 5.10.0-19lenny3) but 5.10.0-19lenny2 is to be installed libsnmp15: Depends: libsnmp-base (>= 5.4.1~dfsg-12) but it is not going to be installed lynx: Depends: lynx-cur (>= 2.8.7dev9-2.1) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
So I decided to remove libperl5.10 which apparently mess. But its not that easy, just take a look:
Code: # apt-get --purge remove libperl5.10 Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libsnmp15: Depends: libsnmp-base (>= 5.4.1~dfsg-12) but it is not going to be installed Depends: libperl5.10 (>= 5.10.0) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). ...and now I don't know what to do ?
I am new and recently almost one month back installed debian linux stable 8.2 came from windows. Today I upgrade my debian stable 8.2 to testing and everything works fine. Just one thing is that I checked kernel and find :
uname -r
4.2.0-1-amd64
dpkg --list | grep linux-image
ii linux-image-3.16.0-4-amd64 3.16.7-ckt11-1+deb8u5 amd64 Linux 3.16 for 64-bit PCs ii linux-image-4.2.0-1-amd64 4.2.3-2 amd64 Linux 4.2 for 64-bit PCs ii linux-image-amd64 4.2+68 amd64 Linux for 64-bit PCs (meta-package)
I am first time removing old kernel so cant take risk from searching the solution from google so come here, what and how to remove that includes everything like kernel image and other old kernel files not needed.
One more thing I just realised and saw on details in settings gnome that
Base : Debian GNU/Linux stretch/sid 64-bit
Is this right as it says sid in the line but i just changed my sources.list to testing only and then aptitude upgrade and full-upgrade then just.
OK as a recent Windows to Ubuntu convert I made a stupid mistake and now would now like to recover my OS, particularly my files.I had happily been running Ubuntu 10.10 but then used Synaptic to remove Python 2.6 (I was having trouble running Python 2.5 with both installed), I selected to remove Python and all it's dependencies (a bad move as I realise now, as it was quite a dependency list in the end!).
I was left with a semi functional desktop, some things worked but many things were broken / unavailable, neither Synaptic or even Terminal would work to situation.I tried rebooting in the forlorn hope that I would get some recovery options, but it would not boot, boot starts, gets to grub (top left flashing cursor), then that disappears and I am presented with a black screen and nothing then happens. If I then do a hard power down the screen very briefly shows some text (something like enter password) as it shuts down.
Subsequent boot ups just do the same thing. If I boot with an installation disk and move forward to the partition step the original partition is shown as in tact.So, my main question is, is there a way of recovering my OS without the use of low level disk recovery utils (which may be a bit painful and long winded). e.g. what happens if I install 'over the top' of my original installation, will my file system be in tact
I would like to ask if someone knows a command or a script on how to rename a multiple file in the directory starting at the end of the filename or at the .extension( i would like to remove the last 11 character before the extension) for exampleBelow is the result of my command ls inside the directoryQuote:
I recently upgraded my x86_64 system from FC8 to FC10 using Pre-Upgrade. (related blog link) It appears that the upgrade process installed a steaming pile of i386 packages that are duplicates of existing x86_64 packages. I now get update errors because of this package clash. I have searched the fora and the most progress I've been able to make so far is: I apparently had 8 unfinished yum transactions so I did yum-complete-transaction 8 times and have no more incomplete transactions.
The output of package-cleanup --dupes is not very helpful:
Yet I still get transaction errors when I run updates via synaptic. It checks dependencies and downloads everything and errs when testing changes. This is the error it gives at the moment:
Code:
Test Transaction Errors: file /etc/gconf/schemas/gweather.schemas from install of libgweather-2.24.2-1.fc10.x86_64 conflicts with file from package gnome-applets-1:2.20.1-1.fc8.i386
I updated and removed some packages that could not be upgraded, and now Firefox and Google Chrome show web pages in bold font by default. By this i mean that all pages not setting font-weight explicitly.
This is on Meerkat, upgraded from long before (Lucid, i believe). I'm guessing the KDE packages are due to me having Amarok and konsole installed some time long ago, so i assumed i could ditch these.The terminal output from the commands above is attached.
Ok I got this folder which has got let's say 3 packages:
example1.txz example2.txz example3.txz
Of course, there are many more packages actually. But anyway, I want to create a script that will upgrade all packages contained in the folder at once just by running the script.
I'm facing this problem since a month on Fedora 10. I have some 45 packages for upgrade through KPackageKit which belong to KDE.
While I give it to upgrade, it gives me a strange message which says Multiple packages exist that are not compatible with each other. This is usually due to mixing packages from different software sources.
When I press the details button, I get these details. ERROR with rpm_check_debug vs depsolve: libkwalletbackend.so.4 is needed by kdebase-runtime-4.2.0-7.fc10.i386 Please report this error at [URL]
I get this message only for the KDE packages. I have libkwalletbackend.so.4 in my /usr/lib directory.
This all started when my Screenlets stopped working. Then I noticed that my update notification stopped too. So, to the command line I went to do and update hoping it was a recent update that needed to be fixed.
Code: sudo apt-get update && sudo apt-get upgrade
It appears that multiple python packages are trashed some how? Currently doing sudo apt-get -f install I get:
HTML Code: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: python-configglue python-ubuntuone-client libimobiledevice0 python-ubuntuone-storageprotocol python-twisted-web python-pyinotify libcouchdb-glib-1.0-2 .....
I have three Ubuntu desktops that I would like to upgrade from 9.10 to 10.04. Is there a way to avoid having each PC download the same packages? Is there some magic I can do with two of the PCs to maybe point the software source list at the third 'master' PC that does all the downloading?
Is there any way to quickly remove multiple related packages from the command line instead of having to enter the name of every single one? I am trying to remove OpenOffice from my server running 10.04. It would work nicely if I could get a list of packages without line breaks, such as the list displayed by aptitude when upgrading. That way I could just paste the package list into the terminal. However, "aptitude search 'openoffice'" dumps a long list on many lines that cannot be used that way.
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" ?
I know a bunch of commands and I am comfortable using the terminal, I even set a powerpc server but I can't figure out how to remove epiphany on this new computer I'm setting up. I didn't install anything with tasksel. I installed gnome and xorg afterwards... I load it up and 'startx' just fine. then I check around for the programs that were installed. I lik'em gimp, lot's of utilities. gedit. anyway I find epiphany, which I have already established that I dislike, I immediately go to the root terminal (another nice program that comes with gnome) and type apt-get remove epiphany-browser-data the output says it will be deleting gnome... however I have researched and found these are simpy meta packages that don't really matter.... however under the section that states all the packages that will be removed by autoremove there is a huge list... I doubt these packages are safe to remove. how to remove epiphany without removing a huge amount of probably needed software
what i did was, remove evolution mail from synaptic, what i wanted to do was just remove the indicator applet from the task bar. i read a bunch of bad stuff about removing evolution from synaptic vs just removing the applet.
im worried. did i break anything or put my security at risk. after, i used a command (older) (sudo apt-get install ubuntu-desktop)to install ubuntu desktop. because i thought that it would fix evolution. then i went to synaptic and installed a package called evolution. i rechecked evolution in applications menu. however, i notice that i have both a checkable evolution and two evolution icons. nothing 'seems' broken. im not sure if it ever was. and evolution calender pops up as normal, as does the the installed plain evolution. they both seems to be an exact copy of the other.
all i really wanted to do was remove the indicator applet. did i make a serious mistake. since ive had ubuntu, ive reformatted a lot because i was worried i made a mistake of some kind. however now im into the more "make a mistake and fix it stage' as im pretty happy with my current desktop and have worked hard to customize it. the command, sudo apt-get remove indicator-messages removed the mail icon. i still am worried that i broke something, or put my security at risk. also, now i have two mail icons. evolution mail and calendar, and another just called evolution.
These should be my last pleas for help with regard to Fedora 13. I've been unable to turn off the notifications that appear in the top right corner, despite a decent amount of searching on google. I can't remove any notifications package without removing a bunch of important software along with it. Also, F13 refuses to "Safely Remove" either of my external disks. I have to yank out the usb cord, touching wood each time.
I'm trying to connect one computer to two others in an ad-hoc infrastructure.
[computer 1] ---- [computer 2] ---- [computer 3]
computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.