You are not logged in.
hey all,
I'm trying to build pakettracer, and it fails to build the package. I run the following comma
makepkg -sri
and return the following:
==> Making package: packettracer 8.1.0-1 (Tue 11 Jan 2022 10:48:23 AM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: CiscoPacketTracer_810_Ubuntu_64bit.deb was not found in the build directory and is not a URL.
so I went ahead and updated the URL for ubuntu under the PKGBUILD file. I replaced the URL for the ubuntu file with the following:
https://www.netacad.com/portal/resource … 23d5771574
this is the current link provided for ubuntu that the line in the PKGBUILD file was calling for. This can be verified on: https://www.netacad.com/portal/resources/packet-tracer. I did have to log in with a cisco account though.
now when I make my makepklg -sri command i return the following lines for error:
==> Validating source files with sha512sums...
71b29477-0abb-4a52-97eb-cc23d5771574 ... FAILED
packettracer.sh ... Passed
==> ERROR: One or more files did not pass the validity check!
it appears as though i don't have the correct sha512sums. how can i get them? btw, I'm working with the 8.1.0 version.
Last edited by case_gage (2022-01-12 01:42:22)
Offline
Did you read the instructions in the pinned comment on the AUR page?
Offline
Offline
Did you read the instructions in the pinned comment on the AUR page?
Yes I have, but I didn't see a solution. I did find the following which cited similar issues:
panagiss commented on 2021-10-10 20:45
Error when trying to build packettracer (10/10/2021)
Building packettracer...
==> Making package: packettracer 8.0.1-1 (Κυρ 10 Οκτ 2021 11:44:21 μμ EEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: CiscoPacketTracer_801_Ubuntu_64bit.deb was not found in the build directory and is not a URL.
Failed to build packettracer
This looks like it might be a solution, but I don't run Gnome. I'm using xfce.
GraysonPeddie commented on 2021-07-25 22:55
@erylflynn Add or modify the .desktop file for cisco-pt,desktop:
grayson@grayson-epcotcenter
~
$ cat .local/share/applications/cisco-pt.desktop
[Desktop Entry]
Type=Application
Exec=XDG_CURRENT_DESKTOP=GNOME /opt/packettracer/packettracer %f
Name=Packet Tracer 8.0.0
Icon=/opt/packettracer/art/app.png
Terminal=false
StartupNotify=true
MimeType=application/x-pkt;application/x-pka;application/x-pkz;
Categories=Application;Network;
Add XDG_CURRENT_DESKTOP=GNOME to ExecStart= before /opt/packettracer/packettracer %f and that should solve the problem unless you open Packet Tracer in GNOME desktop.
Can I just replace Gnome with whatever desktop I have? Also, and I am brand new to linux in general, but I haven't even gotten it to install. this doesn't seem to be the appropriate fix for validation issues.
Offline
The pinned comment told you to download the source. This has nothing to do with the .desktop file, or GNOME or XFCE or anything.
Offline
so I went ahead and updated the URL for ubuntu under the PKGBUILD file. I replaced the URL for the ubuntu file with the following:
Where did you get that idea from? You need to actually download the CiscoPacketTracer_801_Ubuntu_64bit.deb file and place it in the build directory, just as the instructions on the AUR page you've supposedly read tells you to.
Offline
case_gage wrote:so I went ahead and updated the URL for ubuntu under the PKGBUILD file. I replaced the URL for the ubuntu file with the following:
Where did you get that idea from? You need to actually download the CiscoPacketTracer_801_Ubuntu_64bit.deb file and place it in the build directory, just as the instructions on the AUR page you've supposedly read tells you to.
Well, I came up with this error:
==> ERROR: CiscoPacketTracer_801_Ubuntu_64bit.deb was not found in the build directory and is not a URL.
so, I went to the PKGBUILD file and I changes this line because the link for the download had this URL when I hovered over it. So I figured if I found this line and changed the URL I would resolve the issue. I did not try to change the line prior to the first installation.
Offline
Can you reproduce this locally?
file 71b29477-0abb-4a52-97eb-cc23d5771574
HTML document, Unicode text, UTF-8 text, with very long lines (5819)
If you can the file downloaded was the web login / redirection page. The PKGBUILD does not contain a download link because you are required to login. After you obtained the .deb using your web browser and placed that in the same directory as the PKGBUILD, makepkg will use that file without you having to make changes to the PKGBUILD.
Offline
Can you reproduce this locally?
file 71b29477-0abb-4a52-97eb-cc23d5771574 HTML document, Unicode text, UTF-8 text, with very long lines (5819)
If you can the file downloaded was the web login / redirection page. The PKGBUILD does not contain a download link because you are required to login. After you obtained the .deb using your web browser and placed that in the same directory as the PKGBUILD, makepkg will use that file without you having to make changes to the PKGBUILD.
looking back over this thread I think it was referenced before, and it was in fact my problem. ArchWiki says to place the .deb file in the packettracer/ folder and i mistook the error as a reference to pointing to the wrong point of down load. thanks for all your help.
Offline