quota question on install ubuntu 5.10

Discussion in 'Installation/Configuration' started by schneid, Jul 11, 2007.

  1. schneid

    schneid New Member

    Note this error below when i tried to run quotacheck -avugm and quotaon -avug.

    Me,

    [[email protected]]:~$ apt-get install quota
    ...
    ....
    [[email protected]]:~$ touch /quota.user /quota.group
    [[email protected]]:~$ chmod 600 /quota.*
    [[email protected]]:~$ mount -o remount /
    [[email protected]]:~$ touch /var/quota.user /var/quota.group
    [[email protected]]:~$ chmod 600 /var/quota.*
    [[email protected]]:~$ mount -o remount /var
    [[email protected]]:~$ quotacheck -avugm
    bash: quotacheck: command not found
    [[email protected]]:~$ quotaon -avug
    bash: quotaon: command not found


    How to resolved this one... Any help would be appreciated.
    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Plaese make sure that you login as root user before you execute the commands including the first "apt-get install quota" command.
     
  3. schneid

    schneid New Member

    I also log-in as a root user but it is the same result.
    I check whether there is a quotacheck and quotaon installed on my linux but I cannot see it. I check also on my /sbin but there is no quotacheck and quotaon. I also use this;
    [email protected]:~/home/admin# updatedb
    [email protected]:~/home/admin# locate quotacheck
    [email protected]:~/home/admin# locate quotaon
    [email protected]:~/home/admin# echo $PATH

    but there is no response in locating mg quotacheck and quotaon.

    By the way, I install my linux ubuntu in a Virtual PC so that it will not affect my windows OS. Also my question is, that it will affect my linux OS package in a Virtual PC or not?

    When I use apt-get install quota, there is no quota on my package so that i use wget <URL> to install quota and I extracted it.

    Is there any solution to get this kind of problem. thanks for your help.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in your /etc/apt/sources.list?
     
  5. schneid

    schneid New Member

    This is how it looks like in my /etc/apt/sources.list...

    deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted


    #deb http://de.archive.ubuntu.com/ubuntu breezy main restricted
    #deb-src http://de.archive.ubuntu.com/ubuntu breezy main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    #deb http://de.archive.ubuntu.com/ubuntu breezy-updates main restricted
    #deb-src http://de.archive.ubuntu.com/ubuntu breezy-updates main restricted

    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    #deb http://de.archive.ubuntu.com/ubuntu breezy universe
    #deb-src http://de.archive.ubuntu.com/ubuntu breezy universe

    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://de.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    # deb-src http://de.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse

    #deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    #deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

    #deb http://security.ubuntu.com/ubuntu breezy-security universe
    #deb-src http://security.ubuntu.com/ubuntu breezy-security universe

    I uncomment the deb cdrom because i updated its package in the cd. When i tried to comment the deb cdrom and uncomment thos sites, it will give me an error. Because it could not find the package update.

    Do you know about that? Thanks in advance.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Please try this instead:

    Code:
    deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
    
    
    deb http://de.archive.ubuntu.com/ubuntu breezy main restricted
    deb-src http://de.archive.ubuntu.com/ubuntu breezy main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://de.archive.ubuntu.com/ubuntu breezy-updates main restricted
    deb-src http://de.archive.ubuntu.com/ubuntu breezy-updates main restricted
    
    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://de.archive.ubuntu.com/ubuntu breezy universe
    deb-src http://de.archive.ubuntu.com/ubuntu breezy universe
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://de.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    # deb-src http://de.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    
    #deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    #deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
    
    #deb http://security.ubuntu.com/ubuntu breezy-security universe
    #deb-src http://security.ubuntu.com/ubuntu breezy-security universe
    Run
    Code:
    apt-get update
    afterwards. You should now be able to install the quota package.
     
  7. falko

    falko Super Moderator ISPConfig Developer

    I've just found out that the breezy repositories don't exist anymore. Breezy is quite old - maybe you should try a newer Ubuntu version.
     
  8. schneid

    schneid New Member

    That is also i want to check about ubuntu 5.10 because the sites where I should get updates are now obsolete.

    Because of this, I uninstall ubuntu 5.10 and try centOS and it works fine now.

    Thanks for your help, Falko.
     

Share This Page