Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

a problem with apt-get

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
irvken
Posts: 5
Joined: 2004-12-12 09:18

a problem with apt-get

#1 Post by irvken »

You see this thread
http://www.linuxquestions.org/questions ... 6/3/195307
I'm having the same problem, except I'm running mepis and the errant package is gallery_1.4.4-pl4-5_all.deb.

Is this a common problem? I had this twice before, once I had to reinstall to clear it, and the second time I think I fixed it, but I can't remember how. Can anyone help?
Last edited by irvken on 2004-12-12 18:30, edited 2 times in total.

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#2 Post by Jeroen »

Not Found
The requested URL /quest...004/06/3/195307 was not found on this server.

irvken
Posts: 5
Joined: 2004-12-12 09:18

#3 Post by irvken »

Aplogies, the link works now

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#4 Post by Jeroen »

But you didn't provide as much information as necessary. Without showing us a full dump of the output from what error you see, nothing can be debugged. "It doesn't work" gives no hint at all what doesn't work. See http://www.catb.org/~esr/faqs/smart-questions.html and also, maybe more relevant here, http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

irvken
Posts: 5
Joined: 2004-12-12 09:18

#5 Post by irvken »

you're probably right, I thought doing it this way would save me time, obviously not.

Ok, I'm running Mepis, dloaded and burnt in Oct, installed this week. Basically been trying to work out how to install apache/php4 and mysql so that they work together. Done this before just using apt-get to varying levels of success. Think I've done it this time too. However when I go to use apt-get to install or remove anything I get the following output :

Code: Select all

root@0[sean]# apt-get install gallery
Reading Package Lists... Done
Building Dependency Tree... Done
gallery is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 427 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up gallery (1.4.4-pl4-5) ...
ln: creating symbolic link `/etc/apache2/conf.d/gallery' to `/etc/gallery/apache.conf': No such file or directory
dpkg: error processing gallery (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 gallery
E: Sub-process /usr/bin/dpkg returned an error code (1)
similarly trying to install naything else results in something like this

Code: Select all

root@0[sean]# apt-get install scribus
.....
.....
Setting up libpng12-0 (1.2.8rel-1) ...

Setting up libqt3c102-mt (3.3.3-7) ...

Setting up scribus (1.2.0.final+cvs20041026-1) ...

Errors were encountered while processing:
 gallery
E: Sub-process /usr/bin/dpkg returned an error code (1)

and pretty much anything else I try to install or remove. Although Scribus does appear to work after installation, Gallery does not.

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#6 Post by Jeroen »

My guess, you _do_ have /usr/sbin/apache2, but you _don't_ have a /etc/apache2/conf.d directory.

The official Debian apache2 packages install /etc/apache2/conf.d, if you don't have them, but installed apache2 manually, gallery gets confused. If you install software manually, do so in /usr/local, as Debian assumes everything directly in /usr is installed by Debian.

irvken
Posts: 5
Joined: 2004-12-12 09:18

#7 Post by irvken »

what do you mean by "installed apache2 manually", everything I've installed has been by apt-get including apache2. I did try to remove it, but when I re-install it now I get this

Code: Select all

root@3[sean]# apt-get install apache2
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  apache2
0 upgraded, 1 newly installed, 0 to remove and 424 not upgraded.
1 not fully installed or removed.
Need to get 0B/31.2kB of archives.
After unpacking 77.8kB of additional disk space will be used.
Selecting previously deselected package apache2.
(Reading database ... 79840 files and directories currently installed.)
Unpacking apache2 (from .../apache2_2.0.52-3_i386.deb) ...
Setting up apache2 (2.0.52-3) ...
Setting up gallery (1.4.4-pl4-5) ...
ln: creating symbolic link `/etc/apache2/conf.d/gallery' to `/etc/gallery/apache.conf': No such file or directory
dpkg: error processing gallery (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 gallery
E: Sub-process /usr/bin/dpkg returned an error code (1)
and that's not installing a /etc/apache2/conf.d directory

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#8 Post by Jeroen »

Looks like a bug in gallery -- it has a unreliable check on whether to perform that symlink -- one can apparantly have /usr/sbin/apache2, but not have /etc/apache2/conf.d

I'll file a bug.

By the way, looks like you need to upgrade your system, lots of outdated packages.

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#9 Post by Jeroen »

See http://bugs.debian.org/285399 , your bug has been solved by the maintainer in the newest package

irvken
Posts: 5
Joined: 2004-12-12 09:18

#10 Post by irvken »

thanks for that Jeroen, it would have taken me a month to work out how to file a bug :)

Post Reply