offline updates
Hello!
Recently I decided to upgrade my
slink to potato. I have "a poorly
connected" system at home, so I read
/usr/doc/apt/offline.txt and decided
to use proposed method. I have download
all necessery packages and ... wrote the
to CD-RW disk.
I was very disappointed by the fact I cannot
upgrade my system form that disk. As you
might guess apt-get complains about lock
files. In my opinion lock files in this
situation are not necessary as the source
file system is readonly. Read only
cache sounds strange but it was very
convinient to use CD-RW in my case.
I think it will be a useful patch.
It must be a check like
errno==EROFS after first open in
GetLock
and some changes in return
code analysis in couple of places
where GetLock is called. I wanted
to send a working patch but find out
that c++ is not installed.
Thanks, Konstantin Kivi kkivi@chat.ru
PS. When I run apt-get --print-uris it complains
about /var/cache/archives too small
It is useful to know how much space I need
and it is also useful to be able to run it from machine
without enough disk space
Reply to: