BlackArch / blackarch

An ArchLinux based distribution for penetration testers and security researchers.
https://www.blackarch.org
Other
2.79k stars 559 forks source link

Updating BlackArch issue #2429

Closed Hax0rG1rl closed 5 years ago

Hax0rG1rl commented 5 years ago

Bug description

Not able to update Blackarch to the latest packages.

Steps to reproduce

Actual result: I get the errors below.

Expected result: A clean error free upgrade process.

Screenshots

image

image

Any ideas how can I fix this?

Thanks!

Hax0rG1rl commented 5 years ago

I found it. FAQ section. Today I learned something new. Now I can go to sleep.

JulianVolodia commented 5 years ago

GJ. BlackArch is not compatible with Arch Linux bleeding-edge status so need to be upgraded with:

pacman -Syyu --needed --overwrite '*' blackarch

Trying to do this after falling to above issue will fix that.

Hax0rG1rl commented 5 years ago

Wow, thank you for your answer. It took me like 5 hours trying various scenarios. Learned so much. OSCP is a small wimpy kid comparing with configuring and debugging an arch flavor install.

JulianVolodia commented 5 years ago

No problem. Sorry that too late and happy that you get over! :-)

I will 301 your thankfullness to my friend who show me this issue which he faced also. :-) Without him I will not know about this.

Do you face another issues? I think most vital is know how to:

Hax0rG1rl commented 5 years ago

@JulianVolodia check this image

FFS

JulianVolodia commented 5 years ago

nice to remove this package which are in conflict always (so you installed wrong with -Syyu)

To learn more, see which package is where - use this from blackarch repository. Tool to use - QUERY mode, search option of pacman. I will return in moment ;)

JulianVolodia commented 5 years ago

BTW. if you have snapshot of downloaded OVA unless you are working on physics machine (but, maybe clean install backup already done?) you could get there and start with fresh. IMHO, when starting with arch it's good to start iterative mode and do some things again and again, having old-one installation stiil somewhere...

JulianVolodia commented 5 years ago

I am checking if you fall into issue with BlackArch or mixed packages from this issue.

Edit: IMHO after removing them you should get over.

Hax0rG1rl commented 5 years ago

BTW. if you have snapshot of downloaded OVA unless you are working on physics machine (but, maybe clean install backup already done?) you could get there and start with fresh. IMHO, when starting with arch it's good to start iterative mode and do some things again and again, having old-one installation stiil somewhere...

Yeah, I did a snapshot of that. :D and thanks trying helping me. I am sure there are a lot of other dudes going through the same pain.

noptrix commented 5 years ago

@JulianVolodia check this image

FFS

Remove android-tools here with sudo pacman -Rns android-tools and show us the results

noptrix commented 5 years ago

@Hax0rG1rl also, can you run this please as root:

pacman -Rscn $(pacman -Qtdq)
updatedb
pkgfile -u
pacman -Fyy
pacman-db-upgrade
yes | pacman -Scc
sync

then run pacman -Syyu --needed blackarch --overwrite='*' again

Hax0rG1rl commented 5 years ago

Thank you all. It seems I won't go to sleep after all, but hell yes, sleep is for the weak ppl

Hax0rG1rl commented 5 years ago

That worked flawlessly. Thank you all! Issue closed.

JulianVolodia commented 5 years ago

@noptrix thanks also, and @Hax0rG1rl sorry that I didn't helped like @noptrix

Take care! :)

Hax0rG1rl commented 5 years ago

@noptrix thanks also, and @Hax0rG1rl sorry that I didn't helped like @noptrix

Take care! :)

@julianvolodia I thanked you all. ;)

JulianVolodia commented 5 years ago

Thanks! Just mention that Maintainter is The Maintainer and good they are here.

I don't know about this fast and clear clean up way. CU

Hax0rG1rl commented 5 years ago

Updates

Not like this is would be a critical thing but after the whole update process, those too are acting in a rogue way. Even you get them updated once they keep saying they have to be updated. Which is odd.

image

noptrix commented 5 years ago

@Hax0rG1rl this is because we didn't update/mirrored the new versions for (checksec, wpscan). i will do it now and it should go away as soon as your mirror is synced with blackarch.org. so in short: do your last pacman -Syu call and then ignore this.

noptrix commented 5 years ago

@Hax0rG1rl this is because we didn't update/mirrored the new versions for (checksec, wpscan). i will do it now and it should go away as soon as your mirror is synced with blackarch.org. so in short: do your last pacman -Syu call and then ignore this.

[ noptrix@blackarch-dev ~/blackarch ]$ repos/blackarch/scripts/up-officials 
[+] syncing packages
[+] comparing packages: core
[+] comparing packages: community
    > update available: checksec
    > update available: wpscan

so it's running now.