Author Topic: Fails to fetch Packages.gz  (Read 9621 times)

arbrandes

  • Regular Poster
  • **
  • Posts: 18
    • View Profile
Fails to fetch Packages.gz
« on: March 27, 2007, 01:05:27 am »
From the installation log:

Code: [Select]
Failed to fetch http://linuxmce.com/ubuntu/./Packages.gz  404 Not Found

Is this normal?  The installation seems to fail because of it:

Code: [Select]
The following packages have unmet dependencies:
  pluto-dcerouter: Depends: pluto-confirm-dependencies (>= 1.0) but it is not going to be installed
                   Depends: pluto-confirm-dependencies (< 1.1) but it is not going to be installed
                   Depends: pluto-createdevice (>= 1.0) but it is not going to be installed
                   Depends: pluto-createdevice (< 1.1) but it is not going to be installed
                   Depends: pluto-install-scripts (>= 1.0) but it is not going to be installed
                   Depends: pluto-install-scripts (< 1.1) but it is not going to be installed
                   Depends: pluto-local-database (>= 1.0) but it is not going to be installed
                   Depends: pluto-local-database (< 1.1) but it is not going to be installed
                   Depends: pluto-std-plugins (>= 1.0) but it is not going to be installed
                   Depends: pluto-std-plugins (< 1.1) but it is not going to be installed
                   Depends: pluto-system-database (>= 1.0) but it is not going to be installed
                   Depends: pluto-system-database (< 1.1) but it is not going to be installed
                   Depends: pluto-website-admin (>= 1.0) but it is not going to be installed
                   Depends: pluto-website-admin (< 1.1) but it is not going to be installed
                   Depends: pluto-boot-scripts (>= 1.0) but it is not going to be installed
                   Depends: pluto-boot-scripts (< 1.1) but it is not going to be installed
                   PreDepends: vim but it is not going to be installed
E: Broken packages

arbrandes

  • Regular Poster
  • **
  • Posts: 18
    • View Profile
Re: Fails to fetch Packages.gz
« Reply #1 on: March 27, 2007, 01:49:02 am »
Ok, it worked, but I had to hack the installer so it didn't overwrite /etc/apt/sources.list.  I added the deb-cache directory myself, dist-upgraded, and then ran the installer from the command line.  Now its "setting up my computer to act as a Media Director".

Suggestion for Paul: have the installer make backups of critical system files (such as sources.list, interfaces, etc.).  Some of us are running the installer on our workstations in order to test it, and it basically screws many things up.

xenoky

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Fails to fetch Packages.gz
« Reply #2 on: March 27, 2007, 02:32:57 am »
i have the same error.
Could you please explain how can you
"ack the installer so it didn't overwrite /etc/apt/sources.list"
ant how to "add the deb-cache directory"

arbrandes

  • Regular Poster
  • **
  • Posts: 18
    • View Profile
Re: Fails to fetch Packages.gz
« Reply #3 on: March 27, 2007, 03:44:41 am »
Let's see:

1. Edit /usr/share/mce-installer/mce-installer.sh and comment out line 25 ("rm -rf $WRKDIR")

2. Run the installer from the desktop and immediately exit it.

3. Move /tmp/selfextract.XXXX somewhere else, such as /tmp/mce-installer

4. Edit /tmp/mce-installer/mce-installer-core.sh, and comment out lines 66-74 (everything from "local Sources..." to "echo $Sources")

5. Edit /etc/apt/sources.list and at the end, add "deb file:/usr/pluto/deb-cache/ ./".

6. Do a "sudo aptitude update", and then "sudo aptitude dist-upgrade".

7. cd /tmp/mce-installer

8. ./mce-installer

xenoky

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Fails to fetch Packages.gz
« Reply #4 on: March 27, 2007, 12:36:26 pm »
thank you for helping, but i can't perform the installation yet:

1) i typed:
Code: [Select]
sudo pico /usr/share/mce-installer/mce-installer.shand i have commented line #25
2) i run the installer on the desktop but nothing happen.
typing
Code: [Select]
sudo gksu /usr/share/mce-installer/mce-installer.sh
and nothing happen, the /tmp dir doesn't contain any /tmp/selfextract.XXXX

to get the archive i've tried to execute the command in the script in the shell so i typed
Code: [Select]
SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ { print NR + 1; exit 0; }' /usr/share/mce-installer/mce-installer.sh`
tail -n +$SKIP /usr/share/mce-installer/mce-installer.sh | tar xz -C /tmp/mce-installer/
and i get the sh installer script in /tmp/mce-installer

after doing the point 4,5,6,7 i run the ./mce-installer
i select my option from the windows but after step five there is an error:
Code: [Select]
casatta@casatta-desktop:/tmp/mce-installer$ ./mce-installer
Step1D
Read: 1 --
Read: eth0|eth0:0 --
Read: 192.168.1.51|255.255.255.0|192.168.1.1|195.130.224.18|195.130.224.18|0|1 --
Step2A
Step0A
Step3
Step4
Step5
Segmentation fault (core dumped)

where am i wrong?

arbrandes

  • Regular Poster
  • **
  • Posts: 18
    • View Profile
Re: Fails to fetch Packages.gz
« Reply #5 on: March 27, 2007, 12:44:11 pm »
Phew, segmentation fault?  Sorry, I don't know enough about the installer to figure out which piece of the installer crashed on you.  I think you got the whole sources.list thing right, but now the problem is bigger.

But just to make sure, is your /etc/apt/sources.list unaltered from its initial state after you run the installer (aside from that additional line you yourself put in)?

xenoky

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Fails to fetch Packages.gz
« Reply #6 on: March 27, 2007, 01:38:17 pm »
i've tried with this source.list:

Code: [Select]
# Pluto sources - start
deb file:/usr/pluto/deb-cache/ ./
deb http://archive.ubuntu.com/ubuntu edgy main restricted multiverse universe
deb http://archive.ubuntu.com/ubuntu edgy-security main restricted multiverse universe
deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted multiverse universe
#deb http://linuxmce.com/ubuntu ./
#deb http://10.0.0.82/ ./
# Pluto sources - end

cause my original source.list was erased by the installer the first time, now i try to restore the "before trying to install linuxmce source.list" with the line "deb file:/usr/pluto/deb-cache/ ./" added to the end.

with the commented line in the the installer mce-installer-core.sh the sources.list remains unaltered

xenoky

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Fails to fetch Packages.gz
« Reply #7 on: March 27, 2007, 02:01:10 pm »
i tried with the older sources.list and nothing happens, i think the "hack installer" abort before getting the header...

Probably i have to wait the "deb http://linuxmce.com/ubuntu ./" source come back to work... :(

thanks for your help