Find the answer to your Linux question:
Results 1 to 6 of 6
Someone sent me a zipped file so I need to install unzip to read it. Synaptic failed to find the package, but when I went to the Debian site and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,193

    [SOLVED] Synaptic failed to find a package - but it was there!


    Someone sent me a zipped file so I need to install unzip to read it. Synaptic failed to find the package, but when I went to the Debian site and looked under etch, I found it straight away in the utilities section. I was able to download and install it using dpkg -i. The strange thing is that the mirror I downloaded it from is in my /etc/apt/sources.lst. So why couldn't synaptic find this package?
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    May be because the repository wasnt updated.
    apt-get or synaptic reads the packages.gz which contains the list of files.
    repository must be reformed after adding packages to root directory of server.
    while synaptic reads old packages.gz list.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,193
    Are you referring to my using apt-get update or synaptic/reload? Because I always do that before doing anything else.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    apt-get update and Synaptic/Reload are same thing. Synaptic is just a GUI of apt-get.
    Could you post the contents of sources.list file here?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,193
    Quote Originally Posted by devils casper View Post
    apt-get update and Synaptic/Reload are same thing. Synaptic is just a GUI of apt-get.
    Yes, I knew that. I generally use synaptic as I like the interface.
    Could you post the contents of sources.list file here?
    When I tried to paste it in, vb did something funny to it, so I've attached it instead.

    The mirror that I downloaded from was ftp.uk.debian.org/debian/ etch main.
    Attached Files Attached Files
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  6. #6
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,193
    Oops! I now have egg all over my face. The problem lay in the way I had set up the Synaptic search function. I must have pressed the wrong button at some stage. I have fixed it to search for package names (which is what I thought it was doing all along) and things are now found correctly. Remember how I once couldn't find bzip2 and ended up installing it from source? That was due to the same glitch.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •