Announcement

Collapse
No announcement yet.

Local Repository problem

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

    Local Repository problem

    Alright fellas

    The thing is I have build a local repositories (with the help from debian.org). but now the thing is I dont understand how to use this. I mean i am using kubuntu 6.06. here what i did

    1. first i update the repositories using sudo apt-get update

    2. then if i try to install suppose mplayer thenwhat should i do? i use sudo apt-get install mplayer. then it says mplayer depends on ----- but they are not going 2 b install. so now how can i install it. i tried with adept but no good. then i tried to install all single deb file manually (needed for mplayer). but there's some problem ie its a common case that 2 deb depends on each other ie to install a.deb b.deb must be install & vice-versa. so this is really getting worse

    plz tell me how can i install these sorts of deb file i mean (deb files depend on each other)

    3. as an alternative i download the tarball of mplayer then compile & install. it's working fine. but the problem is another i cant use the gui. ie gmplayer is not working. what i need to do to see/.use the gui? plz help. and here's another bad thing happen. ( as i described earlier i tried to install mplayer by installing single debs. but dependencies not fullfilled but i found mplayer on the k-menu). i run that but when i tried to play any file it just exits or crashes. After that i install from the tarball. & then i uninstall it from adept , now there's no mplayer on the kmenu but i can still use the mplayer command from terminal, why? [sorry i am a newbie & having difficulties to describe the problem. plz dont mind]

    4, this 1 is with ntfs mounting. i can mount the ntfs drive but it stays in read only mode. how can i bring it to read-write mode? whats the command

    #2
    Re: Local Repository problem

    The thing is I have build a local repositories
    Hmm - Do you mean this ?
    2.2 How to use APT locally (http://www.debian.org/doc/manuals/ap...g-scanpackages)


    These may help:

    Installing Software in Ubuntu
    http://www.psychocats.net/ubuntu/installingsoftware

    Mounting Windows Partitions in Ubuntu
    http://www.psychocats.net/ubuntu/mountwindows

    Psychocats motherlode
    http://www.psychocats.net/ubuntu/

    Unofficial Ubuntu 6.06 (Dapper Drake) Starter Guide
    http://ubuntuguide.org/wiki/Dapper
    (Here you can find windows mount/unmount - note It's ubuntu(gnome) so use kdesu not gksudo and kate/kwrite not gedit. )

    Kubuntu Desktop Guide
    http://doc.ubuntu.com/kubuntu/desktopguide/C/index.html
    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: Local Repository problem

      Hmm - Do you mean this ?
      2.2 How to use APT locally (http://www.debian.org/doc/manuals/ap...g-scanpackages)
      ya that is it. actually u suggest it.

      u didnt say anything about the command to install deb files depend on each other. i reaaaaaly need that code for this one. bcoz of this 1 most of things are hampered

      I'm checking the link u gave me. i'll inform 2morrow

      Comment


        #4
        Re: Local Repository problem

        but now the thing is I dont understand how to use this.
        Making local repository. Using wine packages (http://www.winehq.com/) as example. This is same as (almost :P )2.2 How to use APT locally (http://www.debian.org/doc/manuals/ap...g-scanpackages)


        First make folders for .deb packages and package list:

        /home/your_name_here/debs/
        /home/your_name_here/dists/dapper/deb_does_dapper/binary-i386/


        Copy .deb files to the /home/your_name_here/debs/

        They are:
        libwine_0.9.27~winehq0~ubuntu~6.06-1_all.deb
        libwine-dev_0.9.27~winehq0~ubuntu~6.06-1_all.deb
        wine_0.9.27~winehq0~ubuntu~6.06-1_i386.deb
        wine-dev_0.9.27~winehq0~ubuntu~6.06-1_i386.deb


        Generating package info (konsole is in the /home/your_name_here) :
        Code:
        :~$ dpkg-scanpackages debs /dev/null | gzip > Packages.gz
         ** Packages in archive but missing from override file: **
         libwine libwine-dev wine wine-dev
        
        Wrote 4 entries to output Packages file.


        Copy/move Packages.gz to the /home/your_name_here/dists/dapper/deb_does_dapper/binary-i386/


        Edit /etc/apt/sources.list (backup first !)
        Add:
        Code:
        deb file:///home/your_name_here/ dapper deb_does_dapper

        Update package lists
        Code:
        :~$ sudo apt-get update
        Siv file: dapper Release.gpg
        Siv file: dapper Release
        Siv file: dapper/deb_does_dapper Packages
        ....

        Checking
        Code:
        :~$ apt-cache show wine
        Package: wine
        Version: 0.9.27~winehq0~ubuntu~6.06-1
        Priority: optional
        Section: otherosfs
        Maintainer: Scott Ritchie <scott@open-vote.org>
        Depends: libstdc++6, libxxf86dga1, libartsc0 (>= 1.5.2-0), libasound2 (>> 1.0.10), libaudio2, libaudiofile0 ...
        
        snip
        Filename: debs/wine_0.9.27~winehq0~ubuntu~6.06-1_i386.deb
        Size: 9209646
        Installed-Size: 41887
        snip

        Install (you could use synaptic/adept/whatever):
        Code:
        :~$ sudo apt-get install wine
        
        snip
        Selecting previously deselected package wine.
        (Reading database ... 145667 files and directories currently installed.)
        Unpacking wine (from .../wine_0.9.27~winehq0~ubuntu~6.06-1_i386.deb) ...
        Setting up wine (0.9.27~winehq0~ubuntu~6.06-1) ...

        u didnt say anything about the command to install deb files depend on each other.
        Yes - that is the hard part (dependencies). You have to get all packages. That is why it is called dependency hell (http://en.wikipedia.org/wiki/Dependency_hell). And i don't know easy solution to it.


        Example (mplayer, dapper):
        Ubuntu packages (http://packages.ubuntu.com/) tells that:
        Other Packages Related to mplayer
        depends: libaa1 (>= 1.2), libartsc0 (>= 1.5.2-0), libasound2 (>> 1.0.10), libatk1.0-0 (>= 1.9.0)...
        Also Ubuntu packages tells that you can find (on Intel x86)
        libaa1 from libaa1_1.4p5-30_i386.deb
        libartsc0 from libartsc0_1.5.2-0ubuntu1_i386.deb
        libasound2 from libasound2_1.0.10-2ubuntu4_i386.deb
        and so on ...

        Some of these you already have .


        Or you could use dpkg/apt/synaptic/whatever and check what packages are missing. Write them down - get them. Try again. Write them down - get them...



        More:
        Topic: forcing update to use downloaded packages
        http://kubuntuforums.net/forums/index.php?topic=10229.0
        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: Local Repository problem

          Rog131
          Hi man , thankxxxx a lot for ur help. I really appreciate it.

          I'll check 2day what happens.

          u know i'm kind of bored or i cant have anymore patience about this. I want to update my kde 3.5.2->3.5.5 but that a lot of hard work. it wouldn't be so hard if I had direct internet connection. As I dont have internet connection i thought i'd download them from my university's library & i download the sources file of kde 3.5.5 as I found the deb file will be aa lottttttttt. too boring. then i tried to compile & it said u dont have x, when i get x, it says u dont hav y, so i get y and so on. soooooooo boring.

          I have a feeling why these things are so complicated.

          Anyway I'll keep trying.

          ----------------
          Another thing, need some help on customize the grub loader. i mean i have seen in my lab's pc (containing fedora linux + winXP) there's a background pic in the grubloader.

          but for me (with winxp+kubuntu) the grubloader's background is black. how can i add a picture as background.

          another thing in the grub loader i've five options [i cant remember the exact thing] they r like
          kubuntu ----
          kubuntu--- (recovery)
          kubuntu (memory test)
          other os
          winxp
          all i wann see only 2 option [namyly kubuntu & winxp] how 2 do that?

          Comment


            #6
            Re: Local Repository problem

            I want to update my kde 3.5.2->3.5.5 but that a lot of hard work.
            I bet it is

            Easy (?) solution -> Upgrade to the edgy (it has kde 3.5.5):
            From Kubuntu 6.10 - Taking You To The Edge (http://kubuntu.org/announcements/6.10-release.php)
            If you have a Kubuntu 6.10 CD, put it in the drive, and run apt-cdrom from the command line. Then follow the instructions above.
            Note: You need alternative CD


            need some help on customize the grub loader.
            These may help:
            HOWTO: Grub splash images.
            http://ubuntuforums.org/showthread.php?t=30341

            GrubHowto
            https://help.ubuntu.com/community/GrubHowto

            GRUB Page
            http://users.bigpond.net.au/hermanzone/p15.htm

            GNU GRUB Manual 0.97
            http://www.gnu.org/software/grub/manual/grub.html

            Super Grub Disk Documentation Page
            http://users.bigpond.net.au/hermanzo...bDiskPage.html

            NOTE
            Before you edit grub files, create a boot floppy (or cd or Super Grub Disk). Makes life easier


            all i wann see only 2 option [namyly kubuntu & winxp] how 2 do that?
            You edit /boot/grub/menu.lst. It's text file. Comment (# marks in the start of line) those lines that you don't need.

            Hmm - you comment parts that start with lines:
            Code:
            title		Ubuntu, kernel 2.6.something (recovery mode)
            and
            Code:
            title		Ubuntu, memtest86+
            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

            Working...
            X