Debian :: Remove The Relation Of A File From A .deb Package?
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
ADVERTISEMENT
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
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
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
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
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
Jul 15, 2010
Since installing 10.4 I've been having startup problems: I get a message requiring me to press S to mount various disks. Something which I've never really understood is: what is the relation between fdisk and fstab?At present fdisk gives sda1 and sda2 as my Linux partitions, sdb1 and sdb2 as my Windows partitions. fstab has:
/dev/sda1 /media/winboot ntfs
/dev/sda2 /media/windata ntfs
/dev/sdb1 /media/sdb1 ext3
/dev/sdb2 /media/sdb2 ntfs
/dev/sdb5 /media/sdb5 swap
which looks a bit sus to me. Am I supposed to make my fstab match fdisk, or does fstab modify the result of fdisk when it boots, or what?
View 2 Replies
View Related
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
Oct 3, 2010
Lately i just installed Ubuntu 10.10 and get my Squid installed.It work much superior than Polipo for cache but i do not understand why i got Apache installed after i installed Squid.Is there any co-relation between Apache and Squid?Does it gonna make me run my own web server?
View 4 Replies
View Related
May 20, 2010
I have two pci network adapters. I see them in pci device list (lspci). And I see them using ifconfig. How do I relate them - which pci device corresponds to ifconfig network adapter ? (I can't open my hardware and relate them using MAC stickers)
View 4 Replies
View Related
Jun 11, 2010
I ran an update like I do every night and was informed that I have eight packages to be upgraded. I allowed the package manager to run these updates. However, it became stuck. The first thing to be upgraded is file-roller. I get the message "Unpacking replacement file-roller ..." and then nothing. I left it like this for about 30 minutes and then decided to stop it with ctrl-c. That didn't work. I rebooted and ended up having to fix the package manager as it was locked because it thought it was running. I tried to update again and after about ten minutes, it's still hung on the same spot.
View 2 Replies
View Related
Apr 27, 2011
I would like to install svn, but I am unable to install. sudo apt-get update gives me :
Ign file: eeepc Release.gpg
Ign file:/home/user/packages/ eeepc/main Translation-en
Ign file:/home/user/packages/ eeepc/main Translation-en_US
Ign file: eeepc Release
Ign file: eeepc/main amd64 Packages
Err file: eeepc/main amd64 Packages
File not found
W: Failed to fetch file:/home/user/packages/dists/eeepc/main/binary-amd64/Packages.gz
File not found
E: Some index files failed to download, they have been ignored, or old ones used instead.
sudo apt-get install apache2 gives me :
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apache2
View 8 Replies
View Related
Oct 1, 2010
I do not, and will not, use this feature. This banner to open the configuration is just using up space.
I am sure that this is very simple but I can't seem to figure out how to get the bugger off of Nautilus.
View 4 Replies
View Related
Nov 22, 2015
There are these shortcuts in the GTK3 file chooser: [URL] ....
With the exception of "desktop" which I included in the red box by mistake, I don't want those shorcuts to be there. I've even deleted most of those folders from my home directory because I have no use for them, but the shortcuts remain even after the folders are gone.
How to remove/disable these shortcuts? And while I'm at it, I notice that it's not using my selected icon theme for those icons. Any way to make it use my choice of icon theme?
View 1 Replies
View Related
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
Jun 4, 2011
I need to install the following packages in order to compile a ScummVM fork that is not already compiled for ubuntu.
libsdl1.2-dev
libsdl1.2debian-all
But installing via Synaptic requires me to remove the "ubuntu-desktop" package.
View 1 Replies
View Related
Sep 1, 2010
I downloaded RealPlayer and tried to install it. Well the install screwed up and now I am trying to remove it and I'm not sure how. I just tried to just reinstall it by double-clicking on the rpm file and it give me an error saying it already installed.
View 9 Replies
View Related
Jun 17, 2010
10.04 installation (that worked fine for weeks) does not boot anymore (soft lockup). After some googling I suspect that the problem is the installation of the hostap_utils-package that I performed the last time I could use it. I am on a Thinkpad X30 without CD-drive and don't have my docking station at hand, but fortunately I still have a working 8.04 installation on it and I from that I can mount the 10.04 partition.
So my question is: Is there a good way to remove a package from a 10.04 installation when you cannot boot it directly but have access to the filesystem? Alternatively could someone please post all the files that belong to the hostap_utils package so I can just delete them manually (even though that probably is not a clean way to remove a package..).
View 1 Replies
View Related
Apr 20, 2011
I had installed some kde app a while ago which I didn't want anymore so I uninstalled it and noticed that I didn't need the million kde dependencies that program had required. So I uninstalled all those, and everything went fine except for kdm which gives me the following error:
Code:
$ sudo apt-get purge kdm
[sudo] password for user:
Reading package lists... Done
[code]...
I was able to autoremove it, just not purge it (removing the config files left over).
View 2 Replies
View Related
May 5, 2010
I just used command # yum install -y autofs that work complete but now i want to remove this package.How do i remove this.
View 1 Replies
View Related
Oct 19, 2010
I tried to install RealPlayer using a package from the RealPlayer website but I cannot remove in now. I got the following eeror message:
Loading repository data...
Reading installed packages...
Resolving package dependencies..
View 3 Replies
View Related
Apr 25, 2010
There is a package on my system that won't be removed. How can I tell apt-get not to remove that specific file?
sudo apt-get purge (remove) texlive-lang-cyrillic won't work.
View 2 Replies
View Related
Sep 18, 2010
After i remove many applications from my system, i see that there are many temp files on my filesystem (not just from /home directory but also i see many temp files other directories.). So i am asking you how to remove a software completely from Ubuntu ?
View 5 Replies
View Related
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
May 28, 2011
I couldn't find an amd64 version of the package I wanted, so I forced the architecture on the i386 version I found. (The package in question is xinput-calibrator, so that I can finally get my touchscreen to work.) I later found and added the repository that has the 64 version and tried to install it. It won't install the 64 version because I already have the i386 version. But it also won't let me remove the i386 version.
View 5 Replies
View Related
Jun 15, 2011
I have installed a package that doesn't work on my system because some dependency is not met and I cannot resolve that without seriously breaking my system. Now I want to uninstall that package but it doesn't work. Synapic package manager is also not able to do anything with this broken package. How can I get rid of it now?
View 9 Replies
View Related