Page 5 of 5 FirstFirst ... 345
Results 41 to 46 of 46

Thread: Offline Synaptic Installation/Repository Updates

  1. #41

    Re: Offline Synaptic Installation/Repository Updates

    If anyone's reading this thread and is also getting those failed-to-fetch error messages when they click 'reload' after adding the /home repository in Settings>Repositories - at least in 0.75.9 they're not problems. I tested this by changing the /binary-amd64 folders to /binary-i386 and reloaded. I then got all the same errors but with -amd64 endings.

    Therefore, it appears Synaptic simply searches for both in each of the four folders; so if you have one architecture, and all you see (besides the expected http: errors) are the four file:/home(etc) errors referring to the other architecture, that means Synaptic is successfully reading your file structure.

    Which is, of course, good to know, and for me means everything above is working fine (return to position one: ALL HAIL CORTMAN!) But Synaptic is - what, finding the Packages.gz file and not reading them? It seems Synaptic is getting *right up to* the right place to read but isn't.

    I looked again at the online repositories and each package that I'd downloaded and placed in the appropriate folder was the size it was supposed to be, and all in the right place, so I know I haven't been putting empty files there or something; but what's actually in them, or if something about my download procedure is corrupting the package, I don't know or know how to test. Since I've now downloaded them, using every means I could come up with, four or five times, I don't see how they could be being warped every time. But Synaptic keeps making the exact same scripts with outdated calls.

    Next steps: discover what Synaptic uses to either read the file without unpacking it or, if it's supposed to unpack it, why mine isn't. At this point I suspect the former.

    Also that I'm talking to myself. Hello?

  2. #42
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Offline Synaptic Installation/Repository Updates

    Thanks for the initial kind words. Sorry you had some trouble with it.
    After writing this tutorial (over a year ago) I realized this method has a number of bugs, like some you've been discovering (the "file:/" part for instance). Sorry I was not available to help- RL has been taking over a lot of my time.
    I haven't tried to update this to more recent versions of Ubuntu simply because I don't use Ubuntu very actively anymore and don't have the time. I will see if I can look over what you've written and figure out the problem but it may take me a bit.
    Good luck!

  3. #43

    Re: Offline Synaptic Installation/Repository Updates

    I'd been trying to figure out why, in the scripts, the calls to 'multiverse' were fetching correctly, and were the only ones Synaptic wrote wget commands to 'file:/' to instead of 'http://'. In 'Settings>Repositories>Ubuntu Software only the 'multiverse' tab was unchecked. Originally I had tested this possibility by also unchecking the 'main' box, reloading, and making the 'ubuntu-restricted-extras' script, and it not only didn't make any calls to 'main' but left out several 'universe' calls, and except for the 'multiverse' calls, didn't replace 'http:' with 'file:', so I thought I was on the wrong scent. But I've just tried it again with a different script, and with all those boxes unchecked, and it finally changed all the calls to 'file:', and the script, after editing, worked

    So the two adjustments to this fine tutorial that work, for me at least, using 12.04 and Synaptic 0.75.9, are:

    1) If after reloading you get four error messages to 'file:/' etc ending in whichever of amd64 or i386 you *don't* have, you're okay.
    2) Uncheck all boxes in 'Setting>Repositories>Ubuntu Software
    Last edited by puzzledinportorchard; February 9th, 2013 at 12:08 AM. Reason: brevity; appropriatness

  4. #44
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Offline Synaptic Installation/Repository Updates

    Just FYI to anyone following this- MG&TL and I are working (sporadically) on a script that would replace Synaptic for the creation of download scripts.
    I'll announce its arrival in this thread, if/when it gets accomplished.

  5. #45
    Join Date
    Feb 2013
    Beans
    3

    Re: Offline Synaptic Installation/Repository Updates

    Thanks Cortman. Helped a lot . But for those looking for updated SYNAPTIC 0.75.9 can use following code :
    Code:
    #!/bin/sh
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/universe/s/synaptic/synaptic_0.75.9ubuntu1_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/h/hicolor-icon-theme/hicolor-icon-theme_0.12-1ubuntu2_all.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/a/apt/libapt-inst1.4_0.8.16~exp12ubuntu10.7_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/a/apt/libapt-pkg4.12_0.8.16~exp12ubuntu10.7_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/e/eglibc/libc6_2.15-0ubuntu10.2_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/libe/libept/libept1.4.12_1.0.6~exp1ubuntu1_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/g/gcc-4.6/libgcc1_4.6.3-1ubuntu5_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/g/gdk-pixbuf/libgdk-pixbuf2.0-0_2.26.1-1_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/g/glib2.0/libglib2.0-0_2.32.1-0ubuntu2_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/g/gtk+2.0/libgtk2.0-0_2.24.10-0ubuntu6_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/p/pango1.0/libpango1.0-0_1.30.0-0ubuntu2_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/g/gcc-4.6/libstdc++6_4.6.3-1ubuntu5_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/v/vte/libvte9_0.28.2-3ubuntu2_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/v/vte/libvte-common_0.28.2-3ubuntu2_all.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/libx/libx11/libx11-6_1.4.99.1-0ubuntu2_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/x/xapian-core/libxapian22_1.2.8-1_i386.deb
    However most of these dependencies are already satisfied in precise, so using only the following script will also work:
    Code:
     #!/bin/bash
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/libe/libept/libept1.4.12_1.0.6~exp1ubuntu1_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/v/vte/libvte9_0.28.2-3ubuntu2_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/universe/s/synaptic/synaptic_0.75.9ubuntu1_i386.deb
    wget -c http://glug.nith.ac.in/ubuntu/archives/pool/main/v/vte/libvte-common_0.28.2-3ubuntu2_all.deb
    Hope will be helpful to some...
    Attached Files Attached Files

  6. #46
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Offline Synaptic Installation/Repository Updates

    Quote Originally Posted by ranjanpurbey View Post
    But for those looking for updated SYNAPTIC 0.75.9 can use following code :
    Thanks for this ranjanpurbey.

Page 5 of 5 FirstFirst ... 345

Tags for this Thread

Bookmarks

Posting Permissions

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