You are not logged in.

#1 2010-10-01 00:27:58

Never
Member
Registered: 2008-07-01
Posts: 103

how to install openssl from repositories [Solved]

My pacman is broken, and I am in a process of trying to fix it. I downloaded the files here and the source into one folder. When I run makepkg I get:

patch: **** Can't open patch file /fix-manpages.patch : No such file or directory
patch: **** Can't open patch file /no-rpath.patch : No such file or directory
patch: **** Can't open patch file /ca-dir.patch : No such file or directory
patch: **** Can't open patch file /fix-double-free.patch : No such file or directory
PKGBUILD: line 46 ./config: No suck file or directory
make: **** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed. Aborting... 

Any help?

Will using ./configure make and make install just install these things and get pacman working again?

Last edited by Never (2010-10-10 20:32:01)

Offline

#2 2010-10-01 00:33:52

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: how to install openssl from repositories [Solved]

1. How did you make pacman break ?

2. "PKGBUILD: line 46 ./config: No suck file or directory"

Hmm, no sucK file or directory.

Offline

#3 2010-10-01 00:39:25

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

flamelab wrote:

1. How did you make pacman break ?


I have an older build of Arch Linux, think it is called Don't Panic, it has an option to enable an "IDE-legacy" install, without it the install will freeze, newer versions of the distro either don't state how to enable the "IDE-legacy" install or are incapable. The version of pacman I have is old and, for some reason, unable to self read with a -Syu so it cannot self update.

Offline

#4 2010-10-01 09:29:42

quigybo
Member
Registered: 2009-01-15
Posts: 223

Re: how to install openssl from repositories [Solved]

Never: those errors are telling you that you didn't download the patches along with the PKGBUILD - they are all on the wsvn page you linked to.

Note 1: Makepkg will download the source for you, the location of which is specified in the PKGBUILD. Read the wiki for more info on how makepkg/PKGBUILDs work.

Note 2: It may be easier just downloading a built package from a mirror and installing that. If pacman -U openssl-<ver>-<arch>.pkg.tar.gz doesn't work you can also extract the archive manually into your root fs. Just remember to pacman -Sf openssl once pacman is up and running again, so that the files are tracked by pacman.

edit: I wonder if pacman not working for you is related to this issue?

Last edited by quigybo (2010-10-01 09:34:52)

Offline

#5 2010-10-01 12:07:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: how to install openssl from repositories [Solved]

@ quigybo
Yes, he's using an old release.

@ Never
If you open multiple posts dealing with related issues, post links to them.

https://bbs.archlinux.org/viewtopic.php?id=105760
https://bbs.archlinux.org/viewtopic.php?id=105773


You want to install Arch but you need legacy-IDE support, right? You've got an old release that's got it, but you have problems with updating. Have you tried running pacman (the version you installed from the CD) to install a new pacman?
I think I got lost and I don't know what have you already tried and what was the outcome. I would appreciate if you wrote a summary of your pacman-related problems.

Last edited by karol (2010-10-01 14:39:28)

Offline

#6 2010-10-01 20:20:06

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

karol wrote:

@ quigybo
You want to install Arch but you need legacy-IDE support, right? You've got an old release that's got it, but you have problems with updating. Have you tried running pacman (the version you installed from the CD) to install a new pacman?
I think I got lost and I don't know what have you already tried and what was the outcome. I would appreciate if you wrote a summary of your pacman-related problems.


That is correct. I already tried to install packages from another source but the install would not let go of the CD drive, I could not open it to put a new CD in there. If you are saying there is a way to put the new CD's packages onto the old CD's install then I would need you to say how to do that,

I just figured out how to mount and unmount the cdrom to let me have access to the drive bay, and the old install of archlinux will let me use packages from another source. Where on the new iso would the new packages be? How do I do this?

Offline

#7 2010-10-01 20:34:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: how to install openssl from repositories [Solved]

There is a couple ways to do that
http://wiki.archlinux.org/index.php/Pac … FDVD.2Fiso
http://wiki.archlinux.org/index.php/Pac … repository

Pick the one you find easier.

Have you already installed the base system? Do you have a working shell and all that?

Last edited by karol (2010-10-01 20:35:46)

Offline

#8 2010-10-01 20:40:09

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

Yes I have a base system and working shell

Offline

#9 2010-10-01 20:49:30

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

Well pacman is what is broken, so even if I put these repositories up locally it is still the same problem, doesn't matter if they are on the net or on a CD, pacman won't install them cause there is an issue with older pacmen being able to access the newer packages, including its own update.

Guess I can try a fresh install and then specify this location so the new pacman is installed? Any tips on that besides what you linked?

Offline

#10 2010-10-01 21:00:20

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

My new CD consist of a boot folder, isomounts, overlays.sqfs [executable] and roots-image.sqfs [exec]

The boot folder has:
System.map26, isolinux [folder], memtest.COPYING slapsh.png x86test, archiso.img, memtest, releasenotes.txt, vmlinuz26, and x86test.COPYING

The /boot/isolinux folder has:
boot.cat, chainc.32, cmd.c32, config.c32, cupid.c32, cupidtest.c32, disk.c32, dmitest.c32, elf.c32, ethersel.c32, gfxboot.c32, gpxboot.c32, ght.c32, ifcpu.c32, ifcpu64.c32, isolinux.bin, isolinux.cfg, kbdmap.c32, linus.c32, mboot.c32, memdisk, meminfo.c32, menu.c32, pcitest.c32, pmload.c32, pxelinux.0, reboot.c32, rosh.c32, sanboot.c32, sdi.c32, sysdump.c32, vesainfo.c32, vesamenu.c32, vpdtest.c32

Where would I point the old installer if I was going to load packages from another source that the installer does not know about when given the option?

Offline

#11 2010-10-01 21:11:17

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

The install specifically says:

You can either install packages from an Arch Linux CD, or you can switch to another VC and manually mount the source media under /src. If you manually mount to /src, make sure the packages are available under /src/core/pkg.

So how do I use the new CD to do that?

Offline

#12 2010-10-01 21:26:01

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

The older CD has a file structure that is just /core/pkg and a list of different packages, go figure.

Offline

#13 2010-10-01 21:33:49

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

If I flip the old CD out and put the new one in, the install complains that /src/core/pkg is missing, if I can get all the packages onto a USB or disk then I think I would be done with this. Kinda odd that the old installer is more versatile than the new one.

Offline

#14 2010-10-01 21:39:30

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

Now if anyone knows of a place to grab all the core packages in one swoop in that tar.gz format or a way to extract the packages from the latest build then I might be in business.  Again, can't rely on pacman to install anything because it is broken out of box.

Offline

#15 2010-10-01 21:41:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: how to install openssl from repositories [Solved]

Never wrote:

Now if anyone knows of a place to grab all the core packages in one swoop in that tar.gz format or a way to extract the packages from the latest build then I might be in business.  Again, can't rely on pacman to install anything because it is broken out of box.

Can you download the packages using e.g. wget and decompress them?

I don't know if the old pacman has this feature (check the manpage for your version), but

       -w, --downloadonly
           Retrieve all packages from the server, but do not install/upgrade anything.

Last edited by karol (2010-10-01 21:42:15)

Offline

#16 2010-10-01 21:47:39

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: how to install openssl from repositories [Solved]

Never, please keep in mind the forum is there for others too. Use the edit button to add stuff to your posts, don't bump your topic every five minutes.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#17 2010-10-01 22:51:42

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: how to install openssl from repositories [Solved]

To decompress grab an old binary of xz. Then, perhaps, recompress as gz.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#18 2010-10-01 23:39:51

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

karol wrote:
Never wrote:

Now if anyone knows of a place to grab all the core packages in one swoop in that tar.gz format or a way to extract the packages from the latest build then I might be in business.  Again, can't rely on pacman to install anything because it is broken out of box.

Can you download the packages using e.g. wget and decompress them?

I don't know if the old pacman has this feature (check the manpage for your version), but

       -w, --downloadonly
           Retrieve all packages from the server, but do not install/upgrade anything.

Novel idea, I did pacman -Syuw and then took all the pacman upgrade related packages and put them on my USB drive. Then tried to install the packages on the CD then go back and install the new packages on my ubs over them. That didn't work it errored on the new packages. Then I tried to integrate all packages into one location, deleting earlier stuff for pacman, no go either.

Find it odd that the ide legacy option was either removed from newer builds or that no one knows how to enable it

fsckd wrote:

To decompress grab an old binary of xz. Then, perhaps, recompress as gz.

yeah I guess

Offline

#19 2010-10-01 23:52:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: how to install openssl from repositories [Solved]

The errors you're getting when you try to install via pacman: https://bbs.archlinux.org/viewtopic.php … 71#p833371
Somebody already tried and failed (but he found another way) https://bbs.archlinux.org/viewtopic.php … 89#p771489
Another fellow who had minor problems https://bbs.archlinux.org/viewtopic.php … 80#p830780

Can you post the output of

ldd /usr/bin/pacman

?

Last edited by karol (2010-10-01 23:55:00)

Offline

#20 2010-10-03 12:05:53

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

karol wrote:

Can you post the output of

ldd /usr/bin/pacman

?

This is a fresh install, after I did pacman -Syuw and chose to update pacman, I also did pacman -Sd pacman which screwed up the pacman I have

 pacman: error while loading shared libraries: libfetch.so: cannot open shard object file: No such file or directory
ldd /use/bin/pacman
linux-gate.so.1 => (0xb7f9000)
libalp.so.5 => /usr/lib/libalpm.so.5 (0xb76a000)
libc.so.6 => /lib/lib.so.6 (0xb7e39000)
libfetch.so => not found
libarchive.so.2 = > /usr/lib/libarchive.so.2 (0xb7e14000)
/lib/ld-linux.so.2 (0xb7f91000)
libz.so.1 => /lib/libz.so.1 (0xb7df1000)
libattr.so.1 => /lib/libattr.so.1 (0xb7ded000)
libacl.so.1 => /lib/libacl.so.1 (0xb7de6000)

Offline

#21 2010-10-03 12:55:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: how to install openssl from repositories [Solved]

Can you download it by hand (using wget or whatever) or your openssl is broken (or is it just old)?
http://www.archlinux.org/packages/?sort … =&limit=50
Uncompress the package (it's gzipped) and try to "patch" your system that way.

Offline

#22 2010-10-10 20:31:32

Never
Member
Registered: 2008-07-01
Posts: 103

Re: how to install openssl from repositories [Solved]

Thanks for all your effort, but the original problem was with an old version of pacman not being able to update itself. This solved the problem

Offline

Board footer

Powered by FluxBB