You are not logged in.
Hi,
So I was going to install packet tracer. I followed the tutorial in the wiki section. <a href="https://wiki.archlinux.org/index.php/PacketTracer">PacketTracer</a> Which seems a little thin I got to the part makepkg. here is the out put of what I did.
[ofce@myhost packettracer]$ makepkg -s
==> Making package: packettracer 5.3.2-2 (Sat Jan 14 13:05:39 CST 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
Password:
error: target not found: lib32-libpng12
==> ERROR: 'pacman' failed to install missing dependencies.
[ofce@myhost packettracer]$
Any idea on how to get this working? I would like to get my assignments done for my cisco classes
Last edited by mich04 (2012-01-14 21:22:53)
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline
Have a look at the dependencies https://aur.archlinux.org/packages/pa/p … r/PKGBUILD
makepkg can pull dependencies from the repos, but the ones from the AUR you have to install yourself https://aur.archlinux.org/packages.php?K=lib32-libpng12
Offline
Yes I saw that I donwloaded lib32-libpng12 and ran makepkg -s but now it is saying this
error: target not found: lib32-zlib
I saw that it is in the multilib repo, but I do not have that. How do you add a repo? I uncommented it in pacman.conf then ran the command pacman-Syu but that did not trigger the event I was looking for. Also rankmirrors is a little thin since I ran rankmirrors. Any advice on that? I think once I have multilib enabled I should be able to install everything.
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline
Can you install lib32-zlib with pacman? If not, something's wrong with your pacman setup - post your pacman.conf.
Offline
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - -f %u > %o
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#CheckSpace
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
#[multilib]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
Here it is, when I run pacman -Syu I only see core, extra and community.
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline
Ok, so I saw the error in that I needed to uncomment
#[multilib]
Include = /etc/pacman.d/mirrorlist
to
[multilib]
Include = /etc/pacman.d/mirrorlist
but here is what it is saying now
[office@myhost lib32-libpng12]$ makepkg -s
==> Making package: lib32-libpng12 1.2.46-2 (Sat Jan 14 14:28:18 CST 2012)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: could not open file /var/lib/pacman/sync/multilib.db: Failed to open '/var/lib/pacman/sync/multilib.db'
error: could not open file /var/lib/pacman/sync/multilib.db: Failed to open '/var/lib/pacman/sync/multilib.db'
error: could not open file /var/lib/pacman/sync/multilib.db: Failed to open '/var/lib/pacman/sync/multilib.db'
error: target not found: lib32-zlib
==> ERROR: 'pacman' failed to install missing dependencies.
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline
Yes, you should read the wiki carefully: https://wiki.archlinux.org/index.php/Be … positories
Did you run 'pacman -Sy' your system after uncommenting multilib repo?
Offline
Some general advice: you are trying to use the AUR without learning how to use the AUR. Take a step back, put packet tracer to one side, and invest some time and effort in learning how this stuff works. The same goes for pacman - you've probably been getting by with just 'pacman -Syu' and a handful of other commands, now you need to dig deeper.
Offline
Thanks I will try to do more research.
uncommenting that headline and then running pacman -Syu worked like a charm.
I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.
Offline