Announcement

Collapse
No announcement yet.

Cannot copy /var/cache/apt/archives files

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cannot copy /var/cache/apt/archives files

    Does anyone know why I cannot copy some of the files in the archives directory? I can copy many of them but not all. I also know there is a file called "lock" but I don't know what that is for.

    I would like a copy of all the .deb files in the archives directory so that I don't have to spend lots of time on a low speed connection updating all 15 of my Kubuntu macnines.

    Ray

    #2
    Re: Cannot copy /var/cache/apt/archives files

    What was the error message ?

    How did you ?
    - with konqueror
    Start konqueror as root: Press Alt+F2 and type kdesu konqueror
    - with cp (copy) in the konsole
    Use sudo: In the konsole sudo cp .....

    Maybe it was this:
    File Permissions/ Editing Files that Belong to Root
    http://www.psychocats.net/ubuntu/permissions
    or
    RootSudo
    https://help.ubuntu.com/community/RootSudo
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Cannot copy /var/cache/apt/archives files

      The error message is "Could not read /var/cache/apt/archives/{file name}"

      I only get this on about 5% of all the files in the archives. This problem only occurs on some of the Dapper machines. The machines that I get the above message also produce a message at startup after restoring sessions message. The message then is "The process for the media protocol died unexpectedly."

      I am using Konqueror by typing "kdesu konqueror" from the Run Applet.

      Thanks,

      Ray

      Comment


        #4
        Re: Cannot copy /var/cache/apt/archives files

        What tells:
        Code:
        ls -l /var/cache/apt/archives/{file name}
        Link:
        Linux permissions help
        http://zzee.com/solutions/linux-permissions.shtml
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Cannot copy /var/cache/apt/archives files

          Thanks - You pointed up the problem. The files that I could not copy all showed Forbidden for Group and Others (they were Green when viewing them with Konqueror). Here is a copy of the permissions for several files:

          -rw-r--r-- 1 root root 1997362 2006-06-14 11:40 khelpcenter_4%3a3.5.2-0ubuntu27_i386.deb
          -rw-r--r-- 1 root root 1900332 2006-06-14 11:40 kicker_4%3a3.5.2-0ubuntu27_i386.deb
          -rwx------ 1 root root 1839850 2006-05-18 09:09 kig_4%3a3.5.2-0ubuntu9_i386.deb
          -rwx------ 1 root root 703098 2006-05-18 09:09 klettres_4%3a3.5.2-0ubuntu9_i386.deb
          -rwx------ 1 root root 1992718 2006-05-18 09:09 klettres-data_4%3a3.5.2-0ubuntu9_all.deb


          Note - kig, klettres and klettres-data are files that I could not copy out.

          Thanks for pointing to the problem.

          Ray

          Comment


            #6
            Re: Cannot copy /var/cache/apt/archives files

            Do you have any idea why these files permissions were set to Forbidden in some computers and not in other machines. AFAIK, I used the same process to install them in all machines. - Maybe not, perhaps I did a copy/past of the downloaded archives in some and not the other machines!

            Ray

            Comment

            Working...
            X