Re: Installing/updating packages are very slow
On 25/10/2014, Bret Busby <bret.busby@gmail.com> wrote:
> On 25/10/2014, Bret Busby <bret.busby@gmail.com> wrote:
>> On 25/10/2014, Brian <ad44@cityscape.co.uk> wrote:
>>> On Sat 25 Oct 2014 at 11:44:32 +0800, Bret Busby wrote:
>>>
>>>> On 23/10/2014, Bob Proulx <bob@proulx.com> wrote:
>>>> > Igor Sverkos wrote:
>>>> >> As you can see, it is always the "Unpacking" step which is taking
>>>> >> all
>>>> >> the
>>>> >> time.
>>>> >
>>>> > dpkg has added fsync() calls after all file actions. This
>>>> > significantly slows down file operations. Basically it disables the
>>>> > file system buffer cache causing it to operate at disk drive speeds.
>>>> > This is why unpacking files is quite a bit slow.
>>>> >
>>>>
>>>> Is this why the Update Manager (on Debian 6 LTS) has stopped working?
>>>>
>>>> When I try to run Update Manager, I end up having to kill it.
>>>>
>>>> "
>>>> Update Manager (as superuser) is not responding.
>>>>
>>>> You may choose to wait a short while for it to continue or force the
>>>> application to quit entirely.
>>>> "
>>>>
>>>> It displays "Downloading list of changes", or something like that, and
>>>> then freezes, and, after five minutes or so, with no change, I have to
>>>> kill it.
>>>
>>> Please post the output of
>>>
>>> apt-get update
>>>
>>>
>>
>>
>> "
>> :~# apt-get update
>> Get:1 http://ftp.au.debian.org squeeze-updates Release.gpg [836 B]
>> Ign http://ftp.au.debian.org/debian/ squeeze-updates/main
>> Translation-en
>> Ign http://ftp.au.debian.org/debian/ squeeze-updates/main
>> Translation-en_AU
>> Get:2 http://ftp.au.debian.org squeeze-updates Release [113 kB]
>> Hit http://ftp.au.debian.org squeeze-updates/main amd64
>> Packages/DiffIndex
>> Hit http://deb.opera.com stable Release.gpg
>> Ign http://deb.opera.com/opera/ stable/non-free Translation-en
>> Ign http://deb.opera.com/opera/ stable/non-free Translation-en_AU
>> Hit http://security.debian.org squeeze/updates Release.gpg
>> Ign http://security.debian.org/ squeeze/updates/main Translation-en
>> Ign http://security.debian.org/ squeeze/updates/main Translation-en_AU
>> Hit http://security.debian.org squeeze/updates Release
>> Hit http://deb.opera.com stable Release
>> Hit http://security.debian.org squeeze/updates/main amd64 Packages
>> Ign http://deb.opera.com stable/non-free amd64 Packages
>> Hit http://deb.opera.com stable/non-free amd64 Packages
>> Get:3 http://ftp.de.debian.org squeeze-lts Release.gpg [836 B]
>> Ign http://ftp.de.debian.org/debian/ squeeze-lts/contrib
>> Translation-en
>> Ign http://ftp.de.debian.org/debian/ squeeze-lts/contrib
>> Translation-en_AU
>> Ign http://ftp.de.debian.org/debian/ squeeze-lts/main Translation-en
>> Ign http://ftp.de.debian.org/debian/ squeeze-lts/main
>> Translation-en_AU
>> Ign http://ftp.de.debian.org/debian/ squeeze-lts/non-free
>> Translation-en
>> Ign http://ftp.de.debian.org/debian/ squeeze-lts/non-free
>> Translation-en_AU
>> Get:4 http://ftp.de.debian.org squeeze-lts Release [28.7 kB]
>> Hit http://ftp.de.debian.org squeeze-lts/main Sources/DiffIndex
>> Get:5 http://ftp.de.debian.org squeeze-lts/contrib Sources [14 B]
>> Get:6 http://ftp.de.debian.org squeeze-lts/non-free Sources [14 B]
>> Hit http://ftp.de.debian.org squeeze-lts/main amd64 Packages/DiffIndex
>> Get:7 http://ftp.de.debian.org squeeze-lts/contrib amd64 Packages [14
>> B]
>> Get:8 http://ftp.de.debian.org squeeze-lts/non-free amd64 Packages [14
>> B]
>> Fetched 144 kB in 7s (18.0 kB/s)
>> Reading package lists... Done
>> N: Ignoring file 'opera.list.save' in directory
>> '/etc/apt/sources.list.d/' as it has an invalid filename extension
>>
>> "
>>
>> --
>> Bret Busby
>> Armadale
>> West Australia
>> ..............
>>
>> "So once you do know what the question actually is,
>> you'll know what the answer means."
>> - Deep Thought,
>> Chapter 28 of Book 1 of
>> "The Hitchhiker's Guide to the Galaxy:
>> A Trilogy In Four Parts",
>> written by Douglas Adams,
>> published by Pan Books, 1992
>>
>> ....................................................
>>
>
> And, after posting the above message, in thinking "Okay, that seems to
> be working okay, so I will try Update Manager again, and see what
> happens", I ran Update Manager, and, after 5 minutes of Update Manager
> doing nothing more than displaying "Downloading list of changes", I
> tried to click on the <Close> button, which did not respond (the
> button did not show as being pressed), so, in the top left corner of
> the window, is some kind of an icon, upon which I clicked, which
> displayed a drop down menu, which included the "Close" option, which I
> selected, and thence again got the
>
>>>> "
>>>> Update Manager (as superuser) is not responding.
>>>>
>>>> You may choose to wait a short while for it to continue or force the
>>>> application to quit entirely.
>>>> "
>
> So I selected the <Force quit> option.
>
> --
> Bret Busby
> Armadale
> West Australia
> ..............
>
> "So once you do know what the question actually is,
> you'll know what the answer means."
> - Deep Thought,
> Chapter 28 of Book 1 of
> "The Hitchhiker's Guide to the Galaxy:
> A Trilogy In Four Parts",
> written by Douglas Adams,
> published by Pan Books, 1992
>
> ....................................................
>
Oh, and
"
:~# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official amd64 CD
Binary-1 20111008-14:36]/ squeeze main
# deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official amd64 CD
Binary-1 20111008-14:36]/ squeeze main
# deb http://http.us.debian.org/debian/ squeeze contrib non-free main
deb http://ftp.de.debian.org/debian squeeze-lts main contrib non-free
# deb-src http://http.us.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
# deb-src http://http.us.debian.org/debian/ squeeze/updates main
deb-src http://ftp.de.debian.org/debian squeeze-lts main contrib non-free
# deb-src http://http.us.debian.org/debian/ squeeze-updates,
previously known as 'volatile'
deb http://ftp.au.debian.org/debian/ squeeze-updates main
# deb-src http://ftp.au.debian.org/debian/ squeeze-updates main
"
which, from my understanding of a previous post or web page, relating
to Debian 6 LTS, is what is supposed to be in that file, to have
Debian 6 LTS updating as it should.
--
Bret Busby
Armadale
West Australia
..............
"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992
....................................................
Reply to: