News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Fails to fetch Packages.gz

Started by arbrandes, March 27, 2007, 01:05:27 AM

Previous topic - Next topic

arbrandes

From the installation log:


Failed to fetch http://linuxmce.com/ubuntu/./Packages.gz  404 Not Found


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


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

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

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

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

thank you for helping, but i can't perform the installation yet:

1) i typed:
sudo pico /usr/share/mce-installer/mce-installer.sh
and i have commented line #25
2) i run the installer on the desktop but nothing happen.
typing
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
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:
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

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

i've tried with this source.list:

# 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

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