Originally Posted by
BobSongs
[-=EDIT=-] k3lt01: Here's an idea. But I must preface it with the risk levels. I don't know what this may do to your system: it could install flawlessly or destroy everything right to point where it messes up your sock drawer. But it may install on your system. This Link points to Gutsy's debmirror file. Use at your own system's risk. But if you choose to test it and it works, let me know: I'll post it on the main page.
Sorry for not replying earlier, I have only just had enough time to play with this (I have been playing with other aspects of Ubuntu). The file you linked to is in the stable release of Hardy already (I updated my Hardy-Desktop to the stable release with a clean install). Following your excellent tutorial I still come across the same problem as before. The code is below so you can see what is happening.
Code:
michael@michael-desktop:~$ sudo aptitude install debmirror ruby mkisofs debpartial dpkg-dev
[sudo] password for michael:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
Couldn't find package "debpartial". However, the following
packages contain "debpartial" in their name:
debpartial-mirror
Couldn't find package "debpartial". However, the following
packages contain "debpartial" in their name:
debpartial-mirror
The following NEW packages will be automatically installed:
build-essential g++ g++-4.2 libcompress-raw-zlib-perl
libcompress-zlib-perl libdigest-sha1-perl libio-compress-base-perl
libio-compress-zlib-perl liblockfile-simple-perl liblog-agent-perl
libstdc++6-4.2-dev libtimedate-perl patch
The following NEW packages will be installed:
build-essential debmirror dpkg-dev g++ g++-4.2 libcompress-raw-zlib-perl
libcompress-zlib-perl libdigest-sha1-perl libio-compress-base-perl
libio-compress-zlib-perl liblockfile-simple-perl liblog-agent-perl
libstdc++6-4.2-dev libtimedate-perl patch
0 packages upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 522kB/5186kB of archives. After unpacking 19.2MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://archive.ubuntu.com hardy/main libcompress-raw-zlib-perl 2.008-1 [91.8kB]
Media Change: Please insert the disc labeled 'Ubuntu 8.04 _Hardy Heron_ - Release i386 (20080423)' in the drive '/cdrom/' and press [Enter].
Get:2 http://archive.ubuntu.com hardy/main libio-compress-base-perl 2.008-1 [54.4kB]
Get:3 http://archive.ubuntu.com hardy/main libio-compress-zlib-perl 2.008-1 [135kB]
Get:4 http://archive.ubuntu.com hardy/main libcompress-zlib-perl 2.008-1 [35.7kB]
Get:5 http://archive.ubuntu.com hardy/main libdigest-sha1-perl 2.11-2 [24.7kB]
Get:6 http://archive.ubuntu.com hardy/universe liblog-agent-perl 0.307-1 [129kB]
Get:7 http://archive.ubuntu.com hardy/universe liblockfile-simple-perl 0.2.5-7 [20.2kB]
Get:8 http://archive.ubuntu.com hardy/universe debmirror 20070123ubuntu1 [30.5kB]
Fetched 522kB in 49s (10.6kB/s)
Selecting previously deselected package libstdc++6-4.2-dev.
(Reading database ... 125264 files and directories currently installed.)
Unpacking libstdc++6-4.2-dev (from .../libstdc++6-4.2-dev_4.2.3-2ubuntu7_i386.deb) ...
Selecting previously deselected package g++-4.2.
Unpacking g++-4.2 (from .../g++-4.2_4.2.3-2ubuntu7_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4.2.3-1ubuntu3_i386.deb) ...
Selecting previously deselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.1600-9_all.deb) ...
Selecting previously deselected package patch.
Unpacking patch (from .../p/patch/patch_2.5.9-4_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.14.16.6ubuntu3_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.3ubuntu1_i386.deb) ...
Selecting previously deselected package libcompress-raw-zlib-perl.
Unpacking libcompress-raw-zlib-perl (from .../libcompress-raw-zlib-perl_2.008-1_i386.deb) ...
Selecting previously deselected package libio-compress-base-perl.
Unpacking libio-compress-base-perl (from .../libio-compress-base-perl_2.008-1_all.deb) ...
Selecting previously deselected package libio-compress-zlib-perl.
Unpacking libio-compress-zlib-perl (from .../libio-compress-zlib-perl_2.008-1_all.deb) ...
Selecting previously deselected package libcompress-zlib-perl.
Unpacking libcompress-zlib-perl (from .../libcompress-zlib-perl_2.008-1_all.deb) ...
Selecting previously deselected package libdigest-sha1-perl.
Unpacking libdigest-sha1-perl (from .../libdigest-sha1-perl_2.11-2_i386.deb) ...
Selecting previously deselected package liblog-agent-perl.
Unpacking liblog-agent-perl (from .../liblog-agent-perl_0.307-1_all.deb) ...
Selecting previously deselected package liblockfile-simple-perl.
Unpacking liblockfile-simple-perl (from .../liblockfile-simple-perl_0.2.5-7_all.deb) ...
Selecting previously deselected package debmirror.
Unpacking debmirror (from .../debmirror_20070123ubuntu1_all.deb) ...
Setting up libtimedate-perl (1.1600-9) ...
Setting up patch (2.5.9-4) ...
Setting up dpkg-dev (1.14.16.6ubuntu3) ...
Setting up libcompress-raw-zlib-perl (2.008-1) ...
Setting up libio-compress-base-perl (2.008-1) ...
Setting up libio-compress-zlib-perl (2.008-1) ...
Setting up libcompress-zlib-perl (2.008-1) ...
Setting up libdigest-sha1-perl (2.11-2) ...
Setting up liblog-agent-perl (0.307-1) ...
Setting up liblockfile-simple-perl (0.2.5-7) ...
Setting up debmirror (20070123ubuntu1) ...
Setting up libstdc++6-4.2-dev (4.2.3-2ubuntu7) ...
Setting up g++-4.2 (4.2.3-2ubuntu7) ...
Setting up g++ (4:4.2.3-1ubuntu3) ...
Setting up build-essential (11.3ubuntu1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
michael@michael-desktop:~$ cp /usr/share/doc/debpartial/examples/debcopy.gz ~
cp: cannot stat `/usr/share/doc/debpartial/examples/debcopy.gz': No such file or directory
michael@michael-desktop:~$ gunzip ~/debcopy.gz
gzip: /home/michael/debcopy.gz: No such file or directory
Now because debpartial doesn't exist and it suggested debpartial-mirror I installed that and this is what occured
Code:
michael@michael-desktop:~$ sudo aptitude install debpartial-mirrorReading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
python-cdd python-pycurl
The following NEW packages will be installed:
debpartial-mirror python-cdd python-pycurl
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 118kB of archives. After unpacking 668kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://archive.ubuntu.com hardy/main python-pycurl 7.16.4-1 [82.8kB]
Get:2 http://archive.ubuntu.com hardy/universe python-cdd 0.0.7 [11.0kB]
Get:3 http://archive.ubuntu.com hardy/universe debpartial-mirror 0.2.95 [24.1kB]
Fetched 118kB in 11s (10.2kB/s)
Selecting previously deselected package python-pycurl.
(Reading database ... 126301 files and directories currently installed.)
Unpacking python-pycurl (from .../python-pycurl_7.16.4-1_i386.deb) ...
Selecting previously deselected package python-cdd.
Unpacking python-cdd (from .../python-cdd_0.0.7_all.deb) ...
Selecting previously deselected package debpartial-mirror.
Unpacking debpartial-mirror (from .../debpartial-mirror_0.2.95_all.deb) ...
Setting up python-pycurl (7.16.4-1) ...
Setting up python-cdd (0.0.7) ...
Setting up debpartial-mirror (0.2.95) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
I then
Code:
michael@michael-desktop:~$ cp /usr/share/doc/debpartial/examples/debcopy.gz ~
cp: cannot stat `/usr/share/doc/debpartial/examples/debcopy.gz': No such file or directory
michael@michael-desktop:~$ gunzip ~/debcopy.gz
gzip: /home/michael/debcopy.gz: No such file or directory
michael@michael-desktop:~$
I am unable to go any further without debpartial which by what I am being told by the code coming back to me is debparital does not exist in Hardy yet.
I am going to have a surf around and see if I can locate it somehow. I apologise for the size of this post, I thought posting the code would help in the analysis of the issue.
EDIT: ok I have search through the Repo listings and there is NO debpartial in Hardy. I then went to Gutsy's listing, located Gutsy's debpartial http://packages.ubuntu.com/gutsy/all...rtial/download downloaded it, installed it and everything seems ok.
Code:
michael@michael-desktop:~$ cp /usr/share/doc/debpartial/examples/debcopy.gz ~
michael@michael-desktop:~$ gunzip ~/debcopy.gz
michael@michael-desktop:~$
Bookmarks