Debian Installation :: Dpkg-scanpackages Fails When Package Limit Exceeded
Nov 2, 2015
After receiving no response either here or on IRC, I copied 80 package files to a temporary directory and ran dpkg-scanpackages . /dev/null > Packages with the expected result. The curious part is the delay when output redirection is not used: nothing appears until the script completes, when the result is dumped to the screen. It therefore appears that there is an upper limit to the number of packages that the script can handle, somewhere between 80 and 42,474.
Is this an undocumented feature, or just a peculiarity of my system?
I'm new to Debian and wanting to set up a local repository on my work drive. After following instructions online and copying all packages (~43,000) from the DVD set into /work/Debian/8.2/packages/ I ran dpkg-scan-packages as instructed:
Code: Select all# dpkg-scan-packages . /dev/null | gzip -9c > Packages.gz
This produced an empty file. I then ran dpkg-scanpackages with no output redirection expecting to see a flood of text on the screen, but all I got were error messages suggesting that it can see the .deb packages but is not parsing them:
Code: Select allroot@qbx:~# dpkg-scanpackages /work/Debian/8.2/packages
dpkg-deb: error: invalid character ' ' in archive '/work/Debian/8.2/packages/libshhopt1_1.1.7-3_i386.deb' member 'debian-binary' size
dpkg-scanpackages: error: couldn't parse control information from /work/Debian/8.2/packages/libshhopt1_1.1.7-3_i386.deb
[Code] ....
This all seems in accord with the man page, and it's so simple I'm wondering what I'm missing.
View 1 Replies
ADVERTISEMENT
Jan 26, 2011
I am running Debian Sid unstable , from one day apt-get, aptitude and dpkg cannot install any package.
View 1 Replies
View Related
May 7, 2010
I'm trying to copy a 7.8GB tar.gz file to an external hard drive via command line. It gets to an even 4GB and stops, and gives an error that says "file size limit exceeded." I edited some file at /etc/security/limits.conf to look like: "root hard fsize 10024000" but that didn't do anything at all. Yes, I am copying this as root.
View 9 Replies
View Related
Apr 12, 2010
I downloaded pdftk 1.41 fromand installed on Red Hat Enterprise Linux 4, 32 bitI am primarily using this utility to uncompress pdf files to remove the 'Flate' compressionIt works good with small pdfsHowever, when i use to uncompress pdf files of size 35MB or more, the uncompressed output file grows up to 2GB and then the uncompression fails with error:"File size limit exceeded"I can concatenate two files with output file size upto 3GB in size, so 2GB is not the limitation at the linux level
View 1 Replies
View Related
Sep 2, 2010
I'm having a problem with setrlimit() under linux.
If i used setrlimit(RLIMIT_AS) to set a hard ceiling of virtual memory usage first, then request memory more than that, shouldn't i receive a signal like SIGSEGV?
First i tried the command ulimit in bash, which acted as if i called setrlimit(). i tried 3 programs that overflowed the memory limit i set. i though all the programs would be terminated by a SIGSEGV. but the pascal program received SIGKILL; the C++ program got SIGABRT› the C program, SIGSEGV.
I though there maybe something different between setrlimit() and ulimit, so i wrote a program in C++, fork() first, setrlimit() then execv() in the child, and wait(&status) in the parent. but i got the same result.
I was wondering why these could happen, and could anyone tell me how could i deal with them? i mean, how can i judge that the program exited abnormally because it exceed memory limit?
View 2 Replies
View Related
Mar 20, 2010
Debian 5.04 64bitGnome advise which package provides dpkg-reconfigure
View 3 Replies
View Related
Apr 27, 2015
After Updating to version 8.0 today...
Package Updater GUI is Failing with the message:
No updates are available
No network connection was detected.
=================================
I did updates almost daily on wheezy
Todays updates [via the Pkg Updater GUI] were over 300 meg.
After the updates and reboot
System was showing version 8.0 in the GUI desktop and using 'cat /etc/debian_version'
Then...
From terminal I did ...
apt-get update
apt-get dist-upgrade
The dist-upgrade was over 40 minute and ~ 500meg
Things seemed to go well.
I updated sources.list with apt-spy.
[In order to trouble-shoot: I subsequently commented-out the apt-spy sources and found some generic sources on internet]
==========================================
# sources.list generated by apt-spy v3.2.2
#
# Generated using:
#
[Code].....
apt-get and Synaptic GUI both work.
I did/reviewed some settings in the Synaptic GUI I imported two v8 signing keys into Synaptic from [URL]
Package Updater GUI is Failing with the message: No updates are available No network connection was detected.
View 5 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
Sep 18, 2010
When I tried to upgrade my xubuntu 10.04 , I got this error
dpkg: parse error, in file '/var/lib/dpkg/available' near line 2 package 'x11proto-core-dev': value for `status' field not allowed in this context E: Sub-process /usr/bin/dpkg returned an error code (2)
View 5 Replies
View Related
Mar 31, 2010
I'm running ubuntu 9.04 and was happy because I finally got the screen resolution to be a good size, but now I can't update anything or even upgrade ubuntu.The message I get is
Quote:
Could Not Initialize Package Information
An unresolvable problem occured while initializing the package information.Please report this bug against the 'update-manager' package and include the following error message:
'E:Unable to parse package file /var/lib/dpkg/status (1), E:The package lists or status file could not be parsed or opened.'
I've also had issues with installing new programs (specifically tried Boxee (64bit ver) and Last.fm Scrobbler), but was thinking these issues might be related to the updage-manager error.
View 4 Replies
View Related
Dec 12, 2010
Full error dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
Runing 10.10 on USB.All was fine until a week ago then when trying to update I get that error.
Ive followed instructions in many threads to no avail. Heres what ive done and the result.
sudo apt-get update No error,all download fine sudo apt-get upgrade
Preconfiguring packages ...
dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
sudo apt-get install -f
dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
[Code]...
View 9 Replies
View Related
May 3, 2010
Sid
cmake 2.8.1-2
dh-make .54
dpkg-dev 1.15.7.1
I'm having some issues building deb packages. dh_make --createorig behaves as expected, but when I attempt to buld the package with dpkg-buildpackage -rfakeroot the build dies on a dpkg-source error.
View 14 Replies
View Related
Dec 22, 2010
when installing debian LXDE faced with a challenge - exceeded the frequency of the video (the monitor goes off and a menu appears with the words "video frequency exceeded"Tell me what to do for a successful installation? (Debian has been downloaded through the site LHDE.org)Video card (POWERCOLOR HD4670 AGP)
View 11 Replies
View Related
Sep 7, 2010
I have a post in beginners section but maybe I can find some help here.. If you do not mind,please read the following post about my problem.viewtopic.php?f=30&t=55243&p=320093#p319848
View 1 Replies
View Related
Feb 11, 2010
i have ubuntu karmic 9.10 and when i try to update anything or install anything the a very similar error occurs."(Reading database . . . 55%dpkg: unrecoverable fatal error , aborting: files list file for package `com.palm.net.precoddr.fcoaster' contains empty filenameit repeats this message 3 times then gives up i believe.
View 9 Replies
View Related
Nov 13, 2010
I have to do this to get my computer going and it fails.Also no apt-get update or entry to synaptic
View 2 Replies
View Related
Jul 20, 2010
I want to install gcc on my Pyramid linux which is debian based. I downloaded gcc.deb. When I want to install this file, it gives me "dpkg command not found" error! I also get this error when I want to install other .deb files using dpkg command " dpkg -i finename.deb. I did some research and it seams that I should install package on my system, but package file is .deb file and I can't install .deb file! What should I do to solve the problem??? Should I install any thing on my system to install .deb files??
View 3 Replies
View Related
May 20, 2010
I have tried to create a deb package, but It failed because I was missing some dependencies Now I have installed the dependenci and want to recreate the package (or try to), but get the following error.
rm -f sites-enabled/inner-tunnel sites-enabled/default
rmdir: failed to remove `sites-enabled': No such file or directory
make[3]: *** [clean] Error 1
make[3]: Leaving directory `/root/src_freeradius/freeradius-2.0.4+dfsg/raddb'
make[2]: *** [common] Error 2
make[2]: Leaving directory `/root/src_freeradius/freeradius-2.0.4+dfsg'
make[1]: *** [clean] Error 2
make[1]: Leaving directory `/root/src_freeradius/freeradius-2.0.4+dfsg'
make: *** [clean] Error 2
How do I fix this, without starting from scratch ?
View 1 Replies
View Related
Apr 29, 2012
I am downgrading one of my Sid boxes to Testing. I've finished the install and now duplicating the system for installed packages.
Before I started, to get a list of installed packages
Code: Select allsudo dpkg --get-selections > package.txt
Now when I try to duplicate the installed packages
Code: Select all sudo dpkg --set-selections < package.txt
I receive over 1000 lines with the message:
Code: Select alldpkg: warning: package not in database at line wxyz
I did try
Code: Select all dpkg --configure -a
without any effect.
Is this just a diffence between the Sid package database and the Testing database?
View 14 Replies
View Related
Apr 1, 2010
After I got the OS up and running (v9.10), I was prompted to download and install some updates. The download is complete, but when I try to install the updates, I receive the following message. What should I do?
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
View 4 Replies
View Related
Jul 31, 2011
I have a like problem with all programs last time:
For example, package libtwolame0 installation fails
Code:
I had a like problems with another packedges, when try install mplayer and codecs from Packman.
View 2 Replies
View Related
Jul 22, 2010
I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".
View 3 Replies
View Related
Aug 14, 2011
dpkg -i package.deb
Doesn't install package if it has not-installed dependencies.
What parameters do I miss to install that package with its dependencies from repository?
View 2 Replies
View Related
Oct 10, 2010
I'm trying to install wine1.3 but I don't want the (recommended) package ttf-mscorefonts-installer.In previous releases, I can run this to 'hold' the package and prevent it's installation:
Code:
echo ttf-mscorefonts-installer hold | sudo dpkg --set-selections.However, this command doesn't prevent ttf-mscorefonts-installer from being installed along with wine1.3 in maverick.[code]....
it's just that dpkg isn't picking it up.What is going on here, and how can I place a package on permanent hold?
Note: I ended up installing wine1.3 by running:
Code:
sudo aptitude install wine1.3 ttf-mscorefonts-installer= but I don't believe that the package is actually on permanent hold.
View 2 Replies
View Related
Dec 5, 2010
I want to rescue my system. After a faulty installation of linux-firmware_1.38_all.deb (subprocess /usr/bin/dpkg returned an error code (1))
the system does not boot, even in recovery mode. Using a live cd, I downloaded the linux-firmware version I had previously, and try to install it with dpkg but I can't direct it to the directories I need:
dpkg -i linux-firmware_1.26_all.deb
Segmentation fault
dpkg -i --instdir=/mnt/sdb1 linux-firmware_1.26_all.deb
dpkg: unrecognized option '--instdir=/mnt/sdb1
I cannot get the correct parameters even by reading the man page. What am I missing?
View 6 Replies
View Related
Mar 7, 2011
I have a desktop running on Fedora 14. I installed LAMP by using scripts for package installation. That works fine. Also, I have a virtual environment (Virtual Machine Manager), in which I installed Fedora 14 as well. I tried to install LAMP by the same scripts and the same packages as on my desktop, but strangely - it does not work.
I figured out that in both cases two instances of httpd.conf are installed, one residing in /etc/httpd/conf/, the other one in /usr/local/apache2/conf. The first one seems to belong to the server that is by default installed together with Fedora 14. The second one is the result from the package installation.
For a reason unknown to me, the second one (/etc/httpd/conf/httpd.conf) is always activated on my desktop, while the first one (/usr/local/apache2/conf/httpd.conf) is activated by default in my virtual computer. I have been able to change the DocumentRoot with succes.
I know how to install LAMP with yum, I have a second virtual computer with LAMP installed by yum, and the whole question is not an urgent one, but... I am just curious... what could have caused the difference? And what would I have to do whenever I would like to use the package installation or vice versa?
View 4 Replies
View Related
Jul 1, 2010
I'm installing openSUSE 11.2 on a notebook from DVD + locally mirrored update and kde4 buildservice repositories. This usually worked fine, but this time, the installation always fails at about 89% while installing some package, whose name I can't find out. Its script fails with error 127, the error message blocks access to the log.
Is there a way to continue the installation process afterwards, instead of always trying to reinstall and hoping to find out the name of the failing package?
View 3 Replies
View Related
Aug 24, 2010
If I open synaptic pckg mng always have announced an error occurred the following details are provide:
E:dpkg was interrupted, you must manually run dpkg --configure -a to correct the problem.
E:_CACHE->OPEN()FAILED, PLEASE REPORT
View 1 Replies
View Related
Jan 3, 2010
I'm using a new Distro and after installing it and randomly searching for help on websites on how to install a .Deb file using dpkg at the konsole/terminal it says Bash : dpkg: Command not found . how is this possible ? Do I have to know about all the packages in the package manager to install this. slight difference for me ... knowing what I have and knowing if I need Apr93-323? (whatever) installed first or not ? The only thing I know is that I have the Iso image installed ... which is my linux distro . Where to go from here? because I usually go to a website site to find Software to install ...if I need it .back to the basics
View 14 Replies
View Related
Jun 7, 2010
I switched a working Lucid KVM guest from linux-server to linux-virtual and it could not mount root at boot time and issued a panic instead. Switching back (booted from CD and used "rescue a broken system") revived the VM.
My first guess is that some DM driver module needed for LVM is missing from the linux-virtual package.
View 2 Replies
View Related