If you're a fallible creature like myself you will sometimes uninstall packages using apt-get commands and then scratch your head when a dependency is missing and something that normally worked on your computer no longer does. So... I wrote this bash script that I think a lot of you will find more than useful. Execute this script before using any apt-get command and any package that is removed will be logged appropriately in ~/.oops .If you later find that something no longer works you can reinstall those packages . Just remember the "oops" script will continue to run until you turn it off. This can be done by pressing Ctrl+C while in your terminal.
Most times I use my brain but some how I really screwed up with deleting the wrong hdd's partition which was an 500GB NTFS with all of my custom programs, art, web design & so on which can not be replaced. Is there a way to reverse this process? Keep in mind I am not Linux friendly being I do not know the commands & so on so any copy paste commands with good detail on what it does would be greatly appreciated!
I used GParted to delete & already hit the accept but no other changes have been made on the HDD after that. I am currently running in Live mode as I was going to install on the 80GB which is the one I meant to delete but instead had a nice moment of insanity & deleted the 500 instead!
I made the unfortunate mistake of doing this (sudo rm -r /bin) instead of (sudo rm -r bin) in the folder I was in..I'm trying to copy my data over from my Karmic system using mount, but I'm unable to mount. When I try to mount I get errors of an wrong fs type..
I've done fdisk -l & I get this: /dev/sda1 * 1 37599 302013936 83 Linux
What the heck filesystem is Linux? Is that like ext3 or something? I don't know. Here is what I'm trying to run: mount -t ??? /dev/sda1 /media/disk -o force
Also, besides that. If there a way I can fix my OS without having to do a reinstall? Or at least is there a way can backup my files? I have a 1tb external so that's not the issue.
i'm trying to reinstall LaTeX after i manually deleted all of it's directories in /usr/share, apt-get can't seem to remove or install any of the packages,
Code:
sudo apt-get install -f Reading package lists... Building dependency tree...
I have removed apt package by mistake, which cause I haves lost apt-get, aptitude command. So now I cannot install any kind of software. It is a so stupid thing since I have used apt for about 2 years! How can download the apt deb package with web.
While trying to get a new revision of ntfs-3g packaged for my OS (2010.10.02) i've run into an odd issue. I pulled the ntfs-3g sources, and got the package sources for the ntfs3g debs (apt-get source ntfs3g).I pulled the <src dir>/debian directory into the new sources, went into <new src dir>/debian/<package names>/DEBIAN and altered the versions in the control files to reflect the current version. However, during dpkg-build, the versions revert to the original package version which is 2010.03.06. When these debs get installed, apt-get update thinks that despite both the version of the installed package, and the version of the upstream package being the same, that it should replace the one i made with the upstream.
What the right place to report errors in package descriptions ? There are more than two dozens categories mentioned on the openSUSE "reporting a bug" web page but none of them seem to fit. The packager of the concerned rpm is bugs.opensuse.org, no email printed out when launching rpm -qpi <package name>.
I am having issues trying to compile the alsa-linuxtant module and I am getting errors about not being able to find some files and the source needing to be reconfigured. Anyway the developers told me to try compiling on a pristine source to see if I could compile that way. When I went looking at kernel.org I did not find a 2.6.32-5 version. So I did some checking and to see just what version I have.
ii linux-image-2.6-amd 64 2.6.32+27 Linux 2.6 for 64-bit PCs (meta-package) ii linux-image-2.6.26-2-amd64 2.6.26-24 Linux 2.6.26 image on AMD64 ii linux-image-2.6.32-5-amd64 2.6.32-15 Linux 2.6.32 for 64-bit PCs
So the actual package that is installed is 2.6.32-15 but uname -r reports 2.6.32-5 as the kernel version.
I searched the forum with various terms and didn't find anything, so my apologies if this is a common and/or newbie problem.It seems that when I have a USB driveplugged in to switch the files around, those that I delete are still taking up space. I first noticed it with a Chinese MP3 player and thought it was the player being crappy. I could still play all the songs that were supposedly gone. Today, I noticed it with a little thumb drive that I've had for years. I plugged it into my husband's computer running winXP, and the files showed up in a weird, unusable form. I was able to delete them for real.
I need to install the following dependencies for synspam on Ubuntu 9.10 karmic server:
Code: sudo aptitude install nfqueue-bindings-perl libsys-syslog-perl libappconfig-perl libnetpacket-perl libnetaddr-ip-perl dpkg -i synspam_version_all.deb Of these, only libnetpacket-perl is not packaged for Ubuntu 9.10 karmic.
Is this functionality present in another 9.10 package with a different name? 10.04 Lucid does have the package: [URL]
I am following this guide to installing eclipse via terminal command-line on Linux. However, this seems to be happening lately with all the packages I try to install..I checked the Synaptic Package Manager and reloaded and rebooted the computer, but to no avail.
I have a problem when installing this package through synaptic package manager. this is :
libpng12-dev the error is: W: Failed to fetch http://security.ubuntu.com/ubuntu/po...tu2.1_i386.deb 404 Not Found [IP: 91.189.92.167 80] my distribution is ubuntu 10.4.
I just finished installing a dual boot XP/Ubuntu 10.04 LTS for desktop about half an hour ago, and it's my first experience with a Linux OS. Now that my *complete idiot noob* flag is flying, I have an error I think I need to report:An error occurs with the Package Manager, I get this message when I try to run it, and when Ubuntu boots:
E: Encountered a Package with no Package: header E: Problem with MergeList /var/lib/apt/lists/ us.archive.ubuntu.com_ubuntu_dists_lucid_restricte d_binary-i386_Packages E: The package lists or status file could not be parsed or opened.
This usually means that your installed packages have unmet dependencies I tried to download and install Chrome, and it came up with a similar error.
Is my install corrupt/incomplete or something? My setup is a P4 2.4Ghz, 512Mb RAM, onboard graphics, wireless internet and the HDD is 40GB, split into 2 partitions, and my Ubuntu Partition is 10 GB. I'm running Ubuntu 10.04 LTS distribution, and the other OS is Windows XP Professional SP3.I installed Ubuntu by using the Wubi installer.
I want to install CmapTools in my desktop, which runs v.10.04. I have downloaded the .bin file from their site.Is there a way to install it using Synaptic Package Manager?
Still I am asked to package a war file as an RPM package. That is an unusual RPM packaging(To me). If you guys could guide me I have a war file inside a folder, that folder is inside a tar file as a SOURCE for RPM package. The structure is like below.
[Code]...
I simply want that the war file from sources is transferred to the web app of my tomcat server through RPM. I try to package it as an RPM, but its always giving me errors in %build stage. When I try to remove %build from stage from the spec file, then it says command missing.
My system details are: SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 1 LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
I want to get the package "insight", which is a gui for the gnu debugger, but it does not appear in package manager, and there are dependencies and dependencies of dependencies, etc., and I don't want to have to download 15 packages.First of all, why doesn't it show up in package manager? I updated or reloaded or whatever you call it when it updates all data from the repositories.
Just tried to install java JER, this was the outcome; user@user:~$ sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fontsReading package lists... Done Building dependency tree Reading state information... Done Package sun-java6-jre is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
Package sun-java6-fonts is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package sun-java6-plugin is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'sun-java6-jre' has no installation candidate E: Package 'sun-java6-plugin' has no installation candidate E: Package 'sun-java6-fonts' has no installation candidate
when I try to install a package, I've the message The following packages have unmet dependencies:package-xy: Depends:lib-something (>= version_number) which is a virtual package.
Is there anyway to show package size that comes up in the search so you don't have to apt-get install package individually and wait for the installation initiation and then reject to install after it gives u the [y/N] confirmation thing?
I want to install kernel package by this command sudo apt-get install kernel-packagebut it gives me the error :Package kernel-package has no installation candidate
I originally attempted to compile and install xmonad package by package, and the end result was this:
Code: $ xmonad /home/adx/.xmonad/xmonad-x86_64-linux: executeFile: does not exist (No such file or directory) X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 2 (X_ChangeWindowAttributes) Serial number of failed request: 7 Current serial number in output stream: 8 I figured I left out a flag on the make file or something, so I tried the slackbuild packages next; however, the same error was present at launch.
Sometimes i have on some magazines or Internet Zip packages that are the answer of what i am looking for.
Wich tool and how can i do it? c Well, i am in position to say that i had downloaded from Internet or located the package in the Cd or DVD that comes with the magazine.
But now comes the big question. How can i put this package ( install) on my distro ???
Do i have to be a normal user or should it be root or su (superuser) ?
The packages that come with the distro is easy, because i select them and everything is done
As i told before, maybe this is a silly question, but i simple don't know how to install them and i need some of them to leave MS for good.
I'm building a certain RPM package that must require an old version of that same package in order to be installed/upgraded. Is this possible?
For example:
For a package foo v5, somewhere in the spec file: "Requires: foo >= 4"
I'm declaring this on the Requires tag of the spec file, but when I try to install or upgrade the package (without having the previous required version installed) I get no dependency error! As for other dependencies it all works fine. If, instead, I create a package named "bar" that "Requires: foo >= 4", when installing I do get the expected dependency error. I'm thinking it's not possible to require an old version of the same package.
After Upgrade to natty everything went well except my package manager is now broken and I keep going around in circles; Update manager gives me a list of six updates that are downloaded but not installed. When I try to install, It returns;
I'm trying to execute the following command: apt-get install linux-headers-`uname -r` mercurial build-essential cvs subversion libncurses5-dev
I get the following error:Package libncurses5-dev is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package libncurses5-dev has no installation candidate