Find the answer to your Linux question:
Results 1 to 9 of 9
Hello, please i was trying to install the package libqt3-mt-dev but i got an error where it was suggested that i update the packages. so i tried the apt-get install ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    14

    couldn't find package udate


    Hello,

    please i was trying to install the package libqt3-mt-dev but i got an error where it was suggested that i update the packages. so i tried the apt-get install update but i got the error:

    couldn't find package update.

    i actually was trying to configure and compile a new source and i need to install the libqt3-mt-dev.

    please help.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by admindesk View Post
    so i tried the apt-get install update but i got the error:

    couldn't find package update.
    You might need to run the update command if you haven't done so already:

    Code:
    apt-get update
    You can find more on using apt for managing your packages in the apt manual:

    APT HOWTO - Managing packages
    oz

  3. #3
    Just Joined!
    Join Date
    May 2009
    Posts
    14
    hello oz,

    i tried running that but here is what i got:

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be upgraded:
    tzdata
    1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 653kB of archives.
    After unpacking 262kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    WARNING: The following packages cannot be authenticated!
    tzdata
    Install these packages without verification [y/N]? y
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

  4. #4
    Linux Newbie sarlacii's Avatar
    Join Date
    May 2005
    Location
    South Africa
    Posts
    110
    Hey admindesk... the mistake you made earlier was to try and run the command "apt-get install update". "update" is an option, not a package. So, as ozar says, execute the command "apt-get update". This will fetch the latest package lists from the repository. Then try "apt-get install libqt3-mt-dev" and you should be good to go (if the package name is correct).

    BTW, "apt-get upgrade" is NOT the same as "apt-get update", so be careful! :o) Read the man file "man apt-get" properly.

    My suggestion is that you try and use whatever GUI frontend your distro came with to manage your updates. All the new distros have a nice graphical manager for updates, which take the guess work out of updates. What's your distro? Ubuntu?
    Last edited by sarlacii; 05-31-2009 at 10:40 AM. Reason: grammer
    Respectfully... Sarlac II
    ~~
    The moving clock K' appears to K to run slow by the factor (1-v^2/c^2)^(1/2).
    This is the phenomenon of time dilation.
    The faster you run, the younger you look, to everyone but yourself.

  5. #5
    Just Joined!
    Join Date
    May 2009
    Posts
    14
    hello sarlacii,

    thanks for the reply,

    i have tried the following:

    apt-get update

    but it is still not working. instead it gave the following errors:

    "E: some index files failed to download, they have been ignored , or old ones used instead"

    any idea how to correct such error?

  6. #6
    Linux Newbie sarlacii's Avatar
    Join Date
    May 2005
    Location
    South Africa
    Posts
    110
    Hi there... that error message means that your connection to the repository isn't great. The repo is either too busy, or too "far" away from you. I suggest that you find a local repo, and connect to that.

    Again, easiest solution is to fire up your distro's update GUI... selecting repo's is easy in the GUI. They all have a list somewhere where you just tick the repo you want. Allows you to try a number of options.

  7. #7
    Just Joined!
    Join Date
    May 2009
    Posts
    14
    thanks sarlaci,
    but how do i get to the repository?

  8. #8
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by admindesk View Post
    thanks sarlaci,
    but how do i get to the repository?
    Did you check the apt howto manual that was posted for you above? It goes into great detail with lots of instructions about how apt works and it covers setting up repositories:

    APT HOWTO

    Let us know how it goes.
    oz

  9. #9
    Just Joined!
    Join Date
    May 2009
    Posts
    14
    thanks oz,

    will have to go through it and see if it helps me. there seems to be alot of stuffs in there though.

Posting Permissions

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