Want straight up access to all Ubuntu/Debian packages?

How to do things, solutions, recipes, tutorials
Message
Author
shanali4
Posts: 5
Joined: Mon 21 Dec 2009, 07:33

#16 Post by shanali4 »

Apt-Get is not working on my puppy linux plz help
Attachments
aptget.jpg
(14.18 KiB) Downloaded 1378 times

tgp1994
Posts: 23
Joined: Wed 23 Sep 2009, 22:23
Location: C:/Documents and Settings/*******/My Documents/VMWare/Puppy Linux/Puppy Linux.vmdk//./root

#17 Post by tgp1994 »

Make sure you extracted it correctly.

shanali4
Posts: 5
Joined: Mon 21 Dec 2009, 07:33

#18 Post by shanali4 »

tgp1994 wrote:Make sure you extracted it correctly.
What should be extracted. I have extracted nothing

tgp1994
Posts: 23
Joined: Wed 23 Sep 2009, 22:23
Location: C:/Documents and Settings/*******/My Documents/VMWare/Puppy Linux/Puppy Linux.vmdk//./root

#19 Post by tgp1994 »

Well, then that poses the question; "What did you do?"

Did you install it by double clicking on the debian package? (
That actually isn't the proper way to do it, you can find some instructions on the first post or the wiki page I created.

tgp1994
Posts: 23
Joined: Wed 23 Sep 2009, 22:23
Location: C:/Documents and Settings/*******/My Documents/VMWare/Puppy Linux/Puppy Linux.vmdk//./root

#20 Post by tgp1994 »

Ok, I figured out the answer to the problem of "Cannot detect suitable environment."

The reason the error is coming up is because dpkg is not installed. I will update the wiki page right away.

cprivers
Posts: 63
Joined: Fri 26 Nov 2010, 21:54

#21 Post by cprivers »

I got it installed with Synaptic, but when I run Synapyic, there is nothing on the page. How to I get the repositories?

Thanks,

Chuck
[i]It's always easy when you know how![/i]

tgp1994
Posts: 23
Joined: Wed 23 Sep 2009, 22:23
Location: C:/Documents and Settings/*******/My Documents/VMWare/Puppy Linux/Puppy Linux.vmdk//./root

#22 Post by tgp1994 »

Chuck,

Are the repositories added in your sources.list file? Check the file in /etc/apt/sources.list, and if you wouldn't mind pasting it here, that would help :)

If you need a list of repositories, take a look at my article here, then in the Steps section, scroll down to part 12. Make sure you follow the steps all the way though.

cprivers
Posts: 63
Joined: Fri 26 Nov 2010, 21:54

#23 Post by cprivers »

tgp1994 wrote:Chuck,

Are the repositories added in your sources.list file? Check the file in /etc/apt/sources.list, and if you wouldn't mind pasting it here, that would help :)

If you need a list of repositories, take a look at my article here, then in the Steps section, scroll down to part 12. Make sure you follow the steps all the way though.
There was no file in my computer, so I grabbed one from my Ubuntu install & changed Karmic to Lucid, then did an update. Right now Synaptic is missing the icons that show what is installed, etc. I read that I have to install the hicolor icons and found a link to download them, but I am supposed to run MAKE to install them on the computer, and MAKE does not appear to be in the installation. Apt-get seems to be working, but I sure would like to have Synaptic so I can see what is there! Have you tried it?

If it ain't one thing, it's another!
------------------------------------
If it was easy, anybody could do it, and you would be out of a job!

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#24 Post by technosaurus »

It's been so long since I have used a .deb based system,
I have forgotten exactly where it is,
but there is a file(s) that keeps track of what packages are installed.
... something like /var/cache/apt-cache ??

in woof based puppies the corresponding files are in
$HOME/.packages/woof-installed-packages
(for 99.9% of puppy users $HOME is /root)

... has anyone tried mapping the latter to the former yet?
seems like a waste of time/bandwidth to download a deb for something that you already have (and potential for breakage)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

tgp1994
Posts: 23
Joined: Wed 23 Sep 2009, 22:23
Location: C:/Documents and Settings/*******/My Documents/VMWare/Puppy Linux/Puppy Linux.vmdk//./root

#25 Post by tgp1994 »

cprivers wrote: If it ain't one thing, it's another!
Oh, I hear ya :)

Unfortunately, I was more intending my tutorial towards debian than ubuntu, and I thought it would be much of the same process.
However, you should be able to run apt-get install make, which should get you what you need.

@technosaurus:
You're right, I think that's where apt-get stores what it downloads. You're also right, it would make sense to symlink one directory to other. I would symlink the home based cache folder to the /var/cache folder, since puppy is more of a single user system anyways. (Would make more sense to store the cache in /var/cache folder.)

Whoops, completely misinterpreted your post.

I know for sure that there's some sort of database, although I still have no clue where it is. You're right though, it would be a good idea to link one to the other.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#26 Post by technosaurus »

if someone could upload a tarball of their apt-cache right after installing apt and then after installing a simple package (like dash maybe?),
I may be able to figure something out?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

cprivers
Posts: 63
Joined: Fri 26 Nov 2010, 21:54

#27 Post by cprivers »

I have already run apt several times, so I may not be of much help. However, if I can help, and if you can tell me exactly how to get you what you want, I'll do it. I would need step-by step instructions because I don't even remember how to make a tarball!

Chuck
[i]It's always easy when you know how![/i]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#28 Post by technosaurus »

Code: Select all

tar -cf tarball.tar /var/cache/apt-cache   #(<--if that is the directory?)
gzip -9 tarball.tar
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

cprivers
Posts: 63
Joined: Fri 26 Nov 2010, 21:54

#29 Post by cprivers »

technosaurus wrote:

Code: Select all

tar -cf tarball.tar /var/cache/apt-cache   #(<--if that is the directory?)
gzip -9 tarball.tar
OK, so make the tarball, install Dash, then make another tarball?

Chuck
[i]It's always easy when you know how![/i]

tgp1994
Posts: 23
Joined: Wed 23 Sep 2009, 22:23
Location: C:/Documents and Settings/*******/My Documents/VMWare/Puppy Linux/Puppy Linux.vmdk//./root

#30 Post by tgp1994 »

cprivers wrote:
technosaurus wrote:

Code: Select all

tar -cf tarball.tar /var/cache/apt-cache   #(<--if that is the directory?)
gzip -9 tarball.tar
OK, so make the tarball, install Dash, then make another tarball?

Chuck
Dash??

What he's going to have you do is first compress /var/cache/apt-cache with tar, then compress that with gzip at the highest possible compression, giving you a .tar.gz file.

dada
Posts: 9
Joined: Sun 12 Sep 2010, 18:45

#31 Post by dada »

.
Last edited by dada on Mon 19 May 2014, 19:44, edited 1 time in total.

cprivers
Posts: 63
Joined: Fri 26 Nov 2010, 21:54

#32 Post by cprivers »

I got that, but it sounds like he wants a "before & after", so I have to install something to get the "after", right?

Chuck
[i]It's always easy when you know how![/i]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#33 Post by technosaurus »

the main reason for installing a package is that when the tarballs are expanded,
one can do a diff that will show what contents have changed.

I only suggested dash because it has few dependencies and it is fairly debian specific.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

visiondude
Posts: 2
Joined: Tue 04 Jan 2011, 16:24

Apt-get, synaptic, aptitude

#34 Post by visiondude »

Thanks tgp1994 8)
I was finding Puppy-5.1.1 very limited with the pet installer, but thanks to you puppy is now complete.
Nice one.

tgp1994
Posts: 23
Joined: Wed 23 Sep 2009, 22:23
Location: C:/Documents and Settings/*******/My Documents/VMWare/Puppy Linux/Puppy Linux.vmdk//./root

#35 Post by tgp1994 »

This actually works on Puppy 5.x?

Post Reply