apt-get does not resume downloading

View: New views
9 Messages — Rating Filter:   Alert me  

apt-get does not resume downloading

by Sthu Deus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good day.

apt-get does not resume downloading - on bad connections it just starts downloading all over again. Is it fixable? How?

apt 0.7.20.2+lenny1

Thank You for Your time.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: apt-get does not resume downloading

by Boyd Stephen Smith Jr.-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Monday 02 November 2009 12:36:22 Sthu Deus wrote:
> apt-get does not resume downloading - on bad connections it just starts
> downloading all over again.

It does resume downloading, just not in the middle of a single file.  (It will
only download files that are missing.)  Resuming in the middle of a file has
shown to be problematic and is not supported by all the mirrors anyway.  
Resuming in the middle of a file results in a file with a bad checksum more
often than restarting the file entirely.
--
Boyd Stephen Smith Jr.           ,= ,-_-. =.
bss@...             ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/            \_/



signature.asc (204 bytes) Download Attachment

Re: apt-get does not resume downloading

by celejar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 2 Nov 2009 14:00:12 -0600
"Boyd Stephen Smith Jr." <bss@...> wrote:

> On Monday 02 November 2009 12:36:22 Sthu Deus wrote:
> > apt-get does not resume downloading - on bad connections it just
> > starts downloading all over again.
>
> It does resume downloading, just not in the middle of a single file.
> (It will only download files that are missing.)  Resuming in the
> middle of a file has shown to be problematic and is not supported by
> all the mirrors anyway. Resuming in the middle of a file results in a
> file with a bad checksum more often than restarting the file entirely.

But under some poor network conditions that I, and probably others,
have experienced, the current system renders it virtually impossible to
download large packages (e.g., openoffice.org-common, wesnoth-data),
while resuming would give us at least a fighting chance.  Perhaps a
user-configurable setting would make the most sense?

Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: apt-get does not resume downloading

by Boyd Stephen Smith Jr.-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Monday 02 November 2009 14:01:20 Celejar wrote:

> On Mon, 2 Nov 2009 14:00:12 -0600
> "Boyd Stephen Smith Jr." <bss@...> wrote:
> > On Monday 02 November 2009 12:36:22 Sthu Deus wrote:
> > > apt-get does not resume downloading - on bad connections it just
> > > starts downloading all over again.
> >
> > It does resume downloading, just not in the middle of a single file.
> > (It will only download files that are missing.)  Resuming in the
> > middle of a file has shown to be problematic and is not supported by
> > all the mirrors anyway.
>
> But under some poor network conditions that I, and probably others,
> have experienced, the current system renders it virtually impossible to
> download large packages (e.g., openoffice.org-common, wesnoth-data),
> while resuming would give us at least a fighting chance.  Perhaps a
> user-configurable setting would make the most sense?
In this case, I suggest downloading the .deb using the tool of your choice to
/var/cache/apt/archives.

I'm also not against a user-configurable option.  There may already be one,
and I simply do not know of it.
--
Boyd Stephen Smith Jr.           ,= ,-_-. =.
bss@...             ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/            \_/



signature.asc (204 bytes) Download Attachment

Re: apt-get does not resume downloading

by Sthu Deus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank You for Your time and answer, Boyd:

> It does resume downloading, just not in the middle of a single file.  (It will
> only download files that are missing.)  Resuming in the middle of a file has
> shown to be problematic and is not supported by all the mirrors anyway.  
> Resuming in the middle of a file results in a file with a bad checksum more
> often than restarting the file entirely.

I have downloaded one package with wget to partial dir. - why it did not
install it but rather has started downloading again?

Can I check its integrity (of the downloaded by wget file) by issuing

apt-get install package

?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: apt-get does not resume downloading

by Sthu Deus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank You for Your time and answer, Celejar:

> But under some poor network conditions that I, and probably others,
> have experienced, the current system renders it virtually impossible to
> download large packages (e.g., openoffice.org-common, wesnoth-data),
> while resuming would give us at least a fighting chance.  Perhaps a
> user-configurable setting would make the most sense?

+1


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: apt-get does not resume downloading

by celejar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 6 Nov 2009 02:01:42 +0700
Sthu Deus <sthu.deus@...> wrote:

> Thank You for Your time and answer, Celejar:
>
> > But under some poor network conditions that I, and probably others,
> > have experienced, the current system renders it virtually impossible to
> > download large packages (e.g., openoffice.org-common, wesnoth-data),
> > while resuming would give us at least a fighting chance.  Perhaps a
> > user-configurable setting would make the most sense?
>
> +1

Wishlist priority bug filed:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554640

Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: apt-get does not resume downloading

by Chris Bannister-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Nov 06, 2009 at 02:00:59AM +0700, Sthu Deus wrote:

> Thank You for Your time and answer, Boyd:
>
> > It does resume downloading, just not in the middle of a single file.  (It will
> > only download files that are missing.)  Resuming in the middle of a file has
> > shown to be problematic and is not supported by all the mirrors anyway.  
> > Resuming in the middle of a file results in a file with a bad checksum more
> > often than restarting the file entirely.
>
> I have downloaded one package with wget to partial dir. - why it did not
> install it but rather has started downloading again?

Why not just download it (using wget -c, for e.g.) then when you have it
all downloaded, put it it in "/var/cache/apt/archives" then apt-get
install packagename should work.
 
> Can I check its integrity (of the downloaded by wget file) by issuing
>
> apt-get install package

You may not need to, at least I haven't noticed any issues with above
method. But if you want to, you could grab the md5 file from the
repository.

--
Chris.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: apt-get does not resume downloading

by Sthu Deus :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank You for Your time and answer, Chris:

> You may not need to, at least I haven't noticed any issues with above
> method. But if you want to, you could grab the mod5 file from the
> repository.

Where in the repo I can find it?
Will not

apt-get install the_downloaded_package

check for the integrity automatically?

I'm much concerned on security issues while transmitting through Internet software for latter installation...

In RH packaging they have such a command:

rpm -K the_downloaded_package

which checks md5, signature, some other stuff.

Is there such an option for the debian package system?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...