Ubuntu :: Deleted The Wrong Package?

Jul 20, 2010

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.

Code:
#!/bin/bash
####################################################

[code]....

View 4 Replies


ADVERTISEMENT

Ubuntu :: GParted Deleted Wrong HDD Partition

Mar 17, 2011

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!

View 7 Replies View Related

Ubuntu :: Bin Folder Deleted - Wrong FS Type Errors

May 29, 2010

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.

View 5 Replies View Related

Ubuntu :: Apt Won't Remove Deleted Package

Mar 13, 2011

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...

[code]....

View 1 Replies View Related

Ubuntu Installation :: Any Way To Download Deleted Apt Deb Package Again?

Oct 16, 2010

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.

View 2 Replies View Related

Ubuntu :: DEB Package Version Comes Out Wrong

Oct 6, 2010

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.

View 2 Replies View Related

OpenSUSE Install :: Wrong Rpm Package Description

Aug 7, 2010

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>.

View 2 Replies View Related

Debian :: UName -r Reports Wrong Kernel Package

Jul 29, 2010

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.

$ uname -r
2.6.32-5-amd64
$ dpkg --list | grep linux-image

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.

View 11 Replies View Related

Ubuntu :: Deleted Files On USB Drive Not Actually Deleted?

Jun 7, 2010

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.

View 4 Replies View Related

Ubuntu Servers :: Libnetpacket-perl Package For 9.10 Karmic - Functionality Present In Another 9.10 Package With A Different Name?

Jan 8, 2010

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]

View 1 Replies View Related

Ubuntu :: Package Installation Error / 'E: Unable To Locate Package Xxx'

Feb 3, 2011

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.

View 5 Replies View Related

Ubuntu Installation :: Installing Package Through Synaptic Package Manager?

Aug 3, 2011

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.

View 1 Replies View Related

Ubuntu :: Way To Determine Which Libraries Package Needs Before Installing Package Itself?

Feb 24, 2010

Is there a way to determine which libraries a package needs before installing the package itself?

View 2 Replies View Related

Ubuntu Installation :: E: Encountered A Package With No Package: Header

Jun 20, 2010

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.

View 1 Replies View Related

Ubuntu :: Install A .bin Package With Synaptic Package Manager?

Oct 2, 2010

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?

View 2 Replies View Related

SUSE :: Package A War File As An RPM Package - Always Giving Errors In %build Stage

Feb 14, 2011

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"

View 5 Replies View Related

Ubuntu :: Insight Package Not In Package Manager

Jun 11, 2010

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.

View 4 Replies View Related

Ubuntu :: 11.04 - Package Sun-java6-jre Is Not Available, But Is Referred To By Another Package

Apr 21, 2011

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

View 1 Replies View Related

Debian Configuration :: Package-xy: Depends: Lib-something (>= Version_number) Which Is A Virtual Package

Nov 4, 2010

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.

View 14 Replies View Related

General :: Apt-cache Search <package> Show Package Size?

Apr 5, 2011

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?

View 2 Replies View Related

OpenSUSE :: Start Up Package Manager Or Package Finder In 11.3?

Sep 3, 2010

Am I the only one who gets this on gnome everytime I start up package manager or package finder in 11.3?

System management is locked by the application with pid 6890 (/usr/sbin/packagekitd)

I literally have to kill -9 pid everytime I run it. What is going on here?

View 3 Replies View Related

General :: Package Kernel-package Has No Installation Candidate?

May 26, 2010

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

View 1 Replies View Related

Software :: Compile And Install Xmonad Package By Package?

Jul 28, 2011

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.

View 1 Replies View Related

CentOS 5 :: Building RPM Package With Specific Noarch Sub-package

Feb 3, 2011

I was building yesterday the boost-1.45.0 RPM package for CentOS 5.5.

View 3 Replies View Related

Fedora :: Download And Install A Package (zip Package)

Mar 15, 2009

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.

View 13 Replies View Related

Fedora :: Install *.tar.gz Package Package After Extraction?

Feb 6, 2010

Fedora 12 64bit. Is there an easy and reliable way to install *.tar.gz package after extraction? Instead of going through ./configure etc.

View 6 Replies View Related

Programming :: RPM: Package Requires Old Version Of Same Package?

Nov 22, 2010

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.

View 2 Replies View Related

Ubuntu Installation :: Error - Dpkg: Warning: Files List File For Package `libsdl-image1.2' Missing, Assuming Package Has No Files Currently Installed

Sep 23, 2010

When i try installing anything i get errors, for example when i try to install somthing from ubuntu software center i get this.

Code: installArchives() failed: Preconfiguring packages ... Preconfiguring packages ... Selecting previously deselected package ttf-symbol-replacement. (Reading database ... dpkg: warning: files list file for package `libsdl-image1.2' missing, assuming package has no files currently installed.

[Code]....

View 4 Replies View Related

Ubuntu :: Package Manager - "the Package System Is Broken" Window

Apr 29, 2011

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;

[Code]...

View 2 Replies View Related

Ubuntu Installation :: Libncurses5-dev Error : Package Libncurses5-dev Is Not Available, But Is Referred To By Another Package?

Mar 11, 2010

I have installed UBUNTU 9.10(2.6.30)

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

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved