Debian Installation :: How To Remove Half-installed Package
Jun 30, 2010
Recently tried to install a new Wine package, but the install failed, so I removed it and reinstalled the old one. That installation also failed, and now the package is in a half-installed state and can neither be installed nor removed. I'd be most grateful for some help - I miss my Wine!
# apt-get install 0.9.47~winehq0~debian~4.0-1
Reading package lists... Done
Building dependency tree... Done
E: The package wine needs to be reinstalled, but I can't find an archive for it.
# apt-get remove 0.9.47~winehq0~debian~4.0-1
Reading package lists... Done
Building dependency tree... Done
E: The package wine needs to be reinstalled, but I can't find an archive for it.
What does it mean by "an archive", and where can I find one?
View 3 Replies
ADVERTISEMENT
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
May 8, 2010
yesterday I've decided to upgrade ubuntu from hardy to lucid on my poweredge server.
unfortunately, I've found an error that I'm not able to solve:
Code:
sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code].....
View 7 Replies
View Related
Jul 7, 2011
I am running a vps with nginx as webserver. For some odd reason (I don't know if it was installed already) apache2 was running before nginx could start. After stopping apache2 nginx starts fine again. But, I want to completely remove apche2, but:
root@vps2:~# apt-get --purge remove apache2*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache2 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@vps2:~#
but:root@vps2:~# ls -la /usr/sbin/apache*
lrwxrwxrwx 1 root root 34 Jul 5 01:46 /usr/sbin/apache2 -> ../lib/apache2/mpm-prefork/apache2
-rwxr-xr-x 1 root root 5326 Mar 22 23:56 /usr/sbin/apache2ctl
lrwxrwxrwx 1 root root 10 Jul 5 01:46 /usr/sbin/apachectl -> apache2ctl
root@vps2:~# ls -la /etc/ap
apache2/ apm/apt/
root@vps2:~# ls -la /etc/apache2/
total 76
drwxr-xr-x 7 root root 4096 May 27 17:32 .
drwxr-xr-x 88 root root 4096 Jul 5 20:46 ..
-rw-r--r-- 1 root root 7908 May 27 17:32 apache2.conf
drwxr-xr-x 2 root root 4096 May 27 17:32 conf.d
-rw-r--r-- 1 root root 1169 May 27 17:32 envvars
-rw-r--r-- 1 root root 0 May 27 17:32 httpd.conf
-rw-r--r-- 1 root root 31063 May 27 17:32 magic
drwxr-xr-x 2 root root 4096 May 27 17:32 mods-available
drwxr-xr-x 2 root root 4096 May 27 17:32 mods-enabled
-rw-r--r-- 1 root root 750 May 27 17:32 ports.conf
drwxr-xr-x 2 root root 4096 May 27 17:32 sites-available
drwxr-xr-x 2 root root 4096 May 27 17:32 sites-enabled
root@vps2:~#
Apache2 is there and I can start it normally with /etc/init.d/apache2 start but I want it removed, how do I do that?
View 2 Replies
View Related
Oct 29, 2010
I attempted to install the CLI management tool for my Highpoint Rocket Raid card (rr62x) downloaded from this page: [URL] When I tried installing it, this is what happens:
Code:
# dpkg -i hptraidconf_3.5_amd64.deb
Selecting previously deselected package hptraidconf.
(Reading database ... 68853 files and directories currently installed.)
[code]....
How can I get this package removed? I was able to get a different management tool installed to configure my RAID so I don't need this one. My system appears to be working, but everytime I use apt-get to install something else, it shows the hptraidconf package as failed.
View 9 Replies
View Related
Mar 2, 2010
i have some package that are installed using ./configure then make & make install & make clean how can i remove those? i cant see them in the pkgtool.
View 7 Replies
View Related
May 27, 2010
I just upgraded from 9.04 to 10.04 and so far I have those problems:
1. Before, everything in my system was in English. Now, half is in English, half in another language (PCManFM, some menus etc). I tried setting up Language Support but it changes nothing.
2. Cursor themes work only when hovering the mouse over "X" buttons in the right top corner of the window. As soon as I move the mouse somewhere else, it goes back to default cursor theme, even though I tried selecting 5 different themes - same result.
4. Hibernation don't work anymore. s2disk saves image to disk and then it resumes it but computer stops on text message along the lines of "Resume completed successfully".
5. Changing volume with keyboard shotcuts no longer works.
6. Smplayer does not display picture anymore when playing movies. The view is just empty. I can only hear the soundtrack. It is using XV filter.
7. PCmanFM that used to worked flawlessly, now after going into 1 or 2 subdirectories stops reacting to clicks on file/folder list. Need to open new instance to be able to do anything and this again would become unusable after visiting 1-2 folders.
View 4 Replies
View Related
May 30, 2010
I recently started an installation of Debian Lenny. During the install, I accidentally chose to install "Desktop environment" when I meant to de-select it (I hit enter, which was obviously the wrong key to de-select) so what should I do now? Should I restart the install, and be more careful the next time the task selector comes up? Should I let it continue, and uninstall all the X stuff afterwards (and how would I remove ALL of the stuff installed with the "Desktop environment", 10GB hard drive
View 3 Replies
View Related
Mar 5, 2011
I have logitech mx518 (mouse).Additional buttons did not work, so I googled a bit and tried different stuff. One of these is the package lomoco.I installed it via aptitude install and did not noticed any differences. So I tried to remove it with aptitude remove, but this seems not to have worked.The problem is, I get several warnings or error messages (or what ever) on startup about lomoco. So I would like to remove it completely.
View 2 Replies
View Related
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
Oct 17, 2010
I have tried install libsub-install-perl and libparams-util-perl but get Error. Now I want remove it from the list when I tried apt-get upgrade. Where I can remove from this entries?
View 2 Replies
View Related
Mar 19, 2011
ex: package A depends on package B, C and D I want to remove only C and D and leave A in a broken state. how?
View 4 Replies
View Related
Feb 2, 2010
Hi,
I'm using my own Debian .deb-packages for managing software updates on a small numbers of computers. So this question is about creating my own .deb Packages.
I got the Package A with the version 1.0 and 2.0. From version 2.0 on it's not necessary to keep track of the file fileB.txt. But I want to keep fileB.txt on the target system anyway.
Code:
Package A Ver. 1.0:
- fileA.txt
- fileB.txt
Package A Ver. 2.0:
- fileA.txt
If I install the new .deb package A. DPKG will remove fileB.txt.
How can I prevent dpkg to remove fileB.txt? In fact, dpkg should simply forget that fileB.txt was ever part of Package A!
Of course I could manipulate the dpkg file list, somewhere in the dpkg cache (file system). But how can I achieve the same effect within a package -> without manual manipulation on the target system?
Is there any key word in the control file? Or is there a special file, which lists "dependencies to delete"?
View 1 Replies
View Related
Jan 24, 2016
Is this method the correct one if I want to forbid a foo package from being installed, even if this foo package is a dependency of another package? For example, geoclue is a dependency of Steam. However, I still want to install Steam, but not geoclue.
The method:
nano /etc/apt/preferences
Package: geoclue
Pin: origin ""
Pin-Priority: -1
View 3 Replies
View Related
Sep 18, 2010
Debian 504 64-bit
I have emacs and ess running on this box code...
View 5 Replies
View Related
Feb 15, 2010
I need a particular include file. I know the file name. I don't know which package would install it. apt-cache seems to only search names and descriptions. dpkg -S seems to only search through installed packages. I need to find a package that's not yet installed. I probably just missed the option in the man page... or I don't know which program to man.
View 10 Replies
View Related
Aug 7, 2011
I have this package dependency question for a while. I have brand new Squeeze system. I selected desktop during installation. Gnome is default system but I turned off gdm3 and uses fluxbox as window manager. I understand if two packages are tied together funtionally so that removal of either package terminates one feature. Above cases, many small packages only depends on the core packages. The core packages work fine without games, other programs.
There are so many programs that I want to remove in the system. For examples, ekiga is a VoIP program that I never use it. When I tried to remove it using apt-get or aptitude, it suggests entire gnome packages will be removed also, which is illogical. The only solution I found is I need to manually remove the package files. I haven't tried it yet.
View 3 Replies
View Related
Sep 18, 2010
Debian 504 64-bit I have emacs and ess running on this box
[code].....
how to find the full name of "ess" installed? How to find whether there is the latest version available on backports?
View 4 Replies
View Related
Oct 17, 2010
I know I've got inotify-tools installed; I've got a daemon that runs and it's using inotifywait to move some files around.
This thing is:
12:20:16 /home/barrie $ >> dpkg --get-selections | grep inotify*
12:20:29 /home/barrie $ >> aptitude show inotify-tools
Package: inotify-tools
New: yes
State: not installed
Version: 3.12-1
Priority: optional
Section: misc
Maintainer: Peter Makholm <peter@makholm.net>
Uncompressed Size: 115k
Depends: libc6 (>= 2.6-1), libinotifytools0
Description: command-line programs providing a simple interface to inotify
inotify-tools is a set of command-line programs for Linux providing a simple interface to inotify. These programs can be used to monitor and act upon filesystem events. inotify-tools consists of two utilities:
inotifywait simply blocks for inotify events, making it appropriate for use in shell scripts.
inotifywatch collects filesystem usage statistics and outputs counts of each inotify event.
12:20:40 /home/barrie $ >>
It's not showing up as installed! If not how to get the list of installed packages 'reloaded'. I've googled for hours and reloading the installed packages doesn't look promising!
View 3 Replies
View Related
Aug 1, 2010
I did a compile and checkinstall of a Debian package (and then deleted the temporary directory tree I compiled in), and had to redo the compile and checkinstall since I screwed up on the dependencies (I think it's item #10) on the checkinstall "menu".
Looking for a quick and dirty shortcut, I was wondering where the post-install dependencies for the packages are stored. Is it in /var/lib/dpkg/status ?
If not, where is the dependency information for installed packages stored?
View 1 Replies
View Related
May 10, 2010
I faced on these days a very nasty problem, during the upgrading of my system... something bad happened and I can not remove, purge, install, reinstall the package flashplugin-nonfree no matter what tries I did till now. To see my tries please read bellow.Do any of you have any advanced advice how can solve this BIG problem that occurs to me?
View 10 Replies
View Related
Jun 17, 2011
I want to remove a keyring package I installed from a repository that I no longer want to use. However, I cannot remove it:
# apt-get remove -y --force-yes debian-xray-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be removed:
debian-xray-keyring
0 upgraded, 0 newly installed, 1 to remove and 130 not upgraded.
After this operation, 49.2 kB disk space will be freed.
(Reading database ... 181076 files and directories currently installed.)
Removing debian-xray-keyring ...
gpg: key "AB8F901D" not found: eof
gpg: AB8F901D: delete key failed: eof
dpkg: error processing debian-xray-keyring (--remove):
subprocess installed pre-removal script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
debian-xray-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)
View 4 Replies
View Related
Aug 13, 2011
VirtualBox is awesome tool for experiment and learning Linux.On the Linux guest OS, I installed standard system without Xorg.i expected it remove all the packages that come along with gnome-terminal previously.Only gnome-terminal was removed, 750kB free space. Now the system have 149MB packages as waste data IMHO.It doesn't look right to me.
View 4 Replies
View Related
Feb 21, 2011
So, there are these source packages i downloaded, which i want to build with slightly different configure options due to a bug in debian: hfd5-serial and hdf5-openmpi cannot coexist, yet some packages require the serial version of the lib , others require the openmpi.
I downloaded the sources, in order to build them, without the hdf5 thing...
I have already built this from source in Scientific Linux, and i know this can be done without hdf5.
Where do i hack into the debian source tree of a package to remove a configure option...?
./configure ... ... --without-hdf5 ...
View 9 Replies
View Related
Mar 13, 2015
I added 'testing' channel into my wheezy 'stable' box and installed packages comes from 'testing'. In this case, if I changed my mind to go back to 'stable', how could I downgrade packages updated by 'testing' channel?
View 13 Replies
View Related
May 7, 2010
Recently I did a Debian Squeeze fresh install.I want to make an ISO of a CD but if I right-click the CD icon and choose copy disk only cue and toc options are available.Which package needs to be installed in order to support ISO image?
View 4 Replies
View Related
May 8, 2011
I have just switched from Ubuntu to Debian, so on the whole I can easily figure out how to use Debian. Scim however, is giving me a problem. I have installed scim with the package manager, but cannot start it.With Ubuntu is was ctrl+space bar, but so far I have not found any key combinations that work. In the preferences menu there is an entry for scim set-up, but it is only an information page.AlthoughI have been using Linux for a few years, I am not much of a terminal user, so I have not even thought of going that route for fear of wrecking my new system.Considering how easy it was to use scim on Ubuntu, which is a Debian derivative, it should not be difficult to get it working. (I am not a computer wizard. In fact, before switching to Linux I hated the machines.
View 2 Replies
View Related
Jan 15, 2011
I regularly compile something from a source repository that has a certain set of dependencies. Some of these dependencies are dev libraries that are provided via other libraries but are not considered installed packages in themselves, so I cannot test for some dependencies directly.
I am currently parsing an "apt-cache showpkg" output to check for some of these provided dependencies. This is somewhat kludge-y and messy, and I was looking for a more elegant solution.
Is there an APTITUDE option that will directly test for the presence of a library that is part of some other package without having to know the name of the package that the library is part of?
View 2 Replies
View Related
Nov 14, 2010
Is it possible to do an aptitude remove for all packages installed in, say, the past hour? I'm looking for an easy way to keep track of lots of installed packages without having to look through the logs and write them all down.
View 4 Replies
View Related
Jun 15, 2011
Does aptitude(or apt-get) have the functionality to remove the packages installed from using build-dep? It just seems convenient if you want to remove a program that was built from source.
View 4 Replies
View Related