BlackArch / blackarch

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

Checking files for conflicts #3090

Closed ghost closed 3 years ago

ghost commented 3 years ago

Bug description

Describe here the issue that you are experiencing.

Steps to reproduce

Actual result: Describe here what happens after you run the steps above (i.e. the buggy behaviour)

Expected result: Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)

Screenshots

Info for developers

Device: Manufacturer Model XVI (Only if you consideer needed, for example, network cards) GNU/Linux distribution: (If you are using one distro that is not BlackArch, example: Manjaro, Anarchy, etc) Tool version: 0.0.0

Link to debug log

New error doing this upgrade. error: failed to commit transaction (conflicting files) crackmapexec: /usr/bin/cme exist in filesystem crackmapexec: /usr/bin/cmedb exist in filesystem crackmapexec: /usr/bin/crackmapexec exist in filesystem.... errors occurred, no packages were upgraded.

Any help would be great

Edu4rdSHL commented 3 years ago

Use --overwrite='*' and please at least try to complete the bug template, it was created for one reason. Next time you don't fill the template I will close the issue without explanation.

ghost commented 3 years ago

Thank you sir for the help, it is much appreciated. I do do that but blackaech then wants to download more. Something like 3.5gb. I use... pacman -Syyu --needed blackarch --overwrite=* or Pac-Man -Syu --needed --overwrite ='*' blackarch and then it tells me I have to download now 10gb more. Well I already have downloaded 8gb with pacman -Syyu. Can't I just do Pac-Man -R and be done with it?

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Eduard Tolosa @.> Sent: Sunday, May 2, 2021 7:46:00 PM To: BlackArch/blackarch @.> Cc: 4dimensio @.>; Author @.> Subject: Re: [BlackArch/blackarch] Checking files for conflicts (#3090)

Use --overwrite='*' and please at least try to complete the bug template, it was created for one reason. Next time you don't fill the template I will close the issue without explanation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/BlackArch/blackarch/issues/3090#issuecomment-830927763, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALEO7UDBLDACP53CZ2ABBCTTLXP3RANCNFSM4374NYHQ.

Edu4rdSHL commented 3 years ago

I didn't told you to put "blackarch" in any place, just add --overwrite='*' to your initial command. Adding blackarch you're telling to pacman "install all the tools in the repo".

ghost commented 3 years ago

I know but I was reading the blacksrch FAQ in there website snd it said I should use it. So thank you for the clarification . I will use pacman -Syyu --overwrite=*. Thank you for your time and understanding .

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Eduard Tolosa @.> Sent: Monday, May 3, 2021 5:11:20 PM To: BlackArch/blackarch @.> Cc: 4dimensio @.>; Author @.> Subject: Re: [BlackArch/blackarch] Checking files for conflicts (#3090)

I didn't told you to put "blackarch" in any place, just add --overwrite='*' to your initial command. Adding blackarch you're telling to pacman "install all the tools in the repo".

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/BlackArch/blackarch/issues/3090#issuecomment-831536367, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALEO7UHCN4IRYDV4YA4GU4TTL4GPRANCNFSM4374NYHQ.

ghost commented 3 years ago

Well when I use --overwrite='*' in any command I get... bash: bin: command not found

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Brian Veres @.> Sent: Monday, May 3, 2021 10:41:55 PM To: BlackArch/blackarch @.>; BlackArch/blackarch @.> Cc: Author @.> Subject: Re: [BlackArch/blackarch] Checking files for conflicts (#3090)

I know but I was reading the blacksrch FAQ in there website snd it said I should use it. So thank you for the clarification . I will use pacman -Syyu --overwrite=*. Thank you for your time and understanding .

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Eduard Tolosa @.> Sent: Monday, May 3, 2021 5:11:20 PM To: BlackArch/blackarch @.> Cc: 4dimensio @.>; Author @.> Subject: Re: [BlackArch/blackarch] Checking files for conflicts (#3090)

I didn't told you to put "blackarch" in any place, just add --overwrite='*' to your initial command. Adding blackarch you're telling to pacman "install all the tools in the repo".

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/BlackArch/blackarch/issues/3090#issuecomment-831536367, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALEO7UHCN4IRYDV4YA4GU4TTL4GPRANCNFSM4374NYHQ.

noraj commented 3 years ago

Use:

$ sudo pacman -Syu --overwrite /usr/bin/cme --overwrite /usr/bin/cmedb --overwrite /usr/bin/crackmapexec
ghost commented 3 years ago

Thank you I will give that a try tonight when I get home. I hope that works

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Alexandre ZANNI @.> Sent: Tuesday, May 4, 2021 1:16:50 PM To: BlackArch/blackarch @.> Cc: 4dimensio @.>; Author @.> Subject: Re: [BlackArch/blackarch] Checking files for conflicts (#3090)

Use:

$ sudo pacman -Syu --overwrite /usr/bin/cme --overwrite /usr/bin/cmedb --overwrite /usr/bin/crackmapexec

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/BlackArch/blackarch/issues/3090#issuecomment-832106158, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALEO7UFMWTJC5W3Q23E4XMLTMATYFANCNFSM4374NYHQ.

aancw commented 3 years ago

Why is "bin command not found"? Did you misstyping?

aancw commented 3 years ago
$ sudo pacman -S crackmapexec --overwrite="usr/*"
warning: crackmapexec-620.15df163-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) crackmapexec-620.15df163-2

Total Installed Size:  16.11 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                  [##############################################################################] 100%
(1/1) checking package integrity                                                                                                [##############################################################################] 100%
(1/1) loading package files                                                                                                     [##############################################################################] 100%
(1/1) checking for file conflicts                                                                                               [##############################################################################] 100%
(1/1) checking available disk space                                                                                             [##############################################################################] 100%
:: Processing package changes...
(1/1) reinstalling crackmapexec                                                                                                 [##############################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
ghost commented 3 years ago

Thank all of you guys. When I get home tonight from work, I'll try everything. Maybe I did mistype but it did state ... bash: bin: command not found

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Aan @.> Sent: Wednesday, May 5, 2021 11:46:24 AM To: BlackArch/blackarch @.> Cc: 4dimensio @.>; Author @.> Subject: Re: [BlackArch/blackarch] Checking files for conflicts (#3090)

$ sudo pacman -S crackmapexec --overwrite="usr/*" warning: crackmapexec-620.15df163-2 is up to date -- reinstalling resolving dependencies... looking for conflicting packages...

Packages (1) crackmapexec-620.15df163-2

Total Installed Size: 16.11 MiB Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y (1/1) checking keys in keyring [##############################################################################] 100% (1/1) checking package integrity [##############################################################################] 100% (1/1) loading package files [##############################################################################] 100% (1/1) checking for file conflicts [##############################################################################] 100% (1/1) checking available disk space [##############################################################################] 100% :: Processing package changes... (1/1) reinstalling crackmapexec [##############################################################################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/BlackArch/blackarch/issues/3090#issuecomment-832801457, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALEO7UH4TBE4KH362OHHQQLTMFR5BANCNFSM4374NYHQ.

ghost commented 3 years ago

I'll re-run... Pac-Man -Syyu and do the update/upgrade. It's around 7.5gb

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Brian Veres @.> Sent: Wednesday, May 5, 2021 1:30:55 PM To: BlackArch/blackarch @.>; BlackArch/blackarch @.> Cc: Author @.> Subject: Re: [BlackArch/blackarch] Checking files for conflicts (#3090)

Thank all of you guys. When I get home tonight from work, I'll try everything. Maybe I did mistype but it did state ... bash: bin: command not found

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Aan @.> Sent: Wednesday, May 5, 2021 11:46:24 AM To: BlackArch/blackarch @.> Cc: 4dimensio @.>; Author @.> Subject: Re: [BlackArch/blackarch] Checking files for conflicts (#3090)

$ sudo pacman -S crackmapexec --overwrite="usr/*" warning: crackmapexec-620.15df163-2 is up to date -- reinstalling resolving dependencies... looking for conflicting packages...

Packages (1) crackmapexec-620.15df163-2

Total Installed Size: 16.11 MiB Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y (1/1) checking keys in keyring [##############################################################################] 100% (1/1) checking package integrity [##############################################################################] 100% (1/1) loading package files [##############################################################################] 100% (1/1) checking for file conflicts [##############################################################################] 100% (1/1) checking available disk space [##############################################################################] 100% :: Processing package changes... (1/1) reinstalling crackmapexec [##############################################################################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/BlackArch/blackarch/issues/3090#issuecomment-832801457, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALEO7UH4TBE4KH362OHHQQLTMFR5BANCNFSM4374NYHQ.

Edu4rdSHL commented 3 years ago

@4dimensio you aren't posting logs, screenshots, or giving any exact message. When the error happens please send THE FULL log from the moment that you write the command.

ghost commented 3 years ago

Sure will tonight when I run ... Pac-Man -Syyu

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Eduard Tolosa @.> Sent: Wednesday, May 5, 2021 1:39:09 PM To: BlackArch/blackarch @.> Cc: 4dimensio @.>; Mention @.> Subject: Re: [BlackArch/blackarch] Checking files for conflicts (#3090)

@4dimensiohttps://github.com/4dimensio you aren't posting logs, screenshots, or giving any exact message. When the error happens please send THE FULL log from the moment that you write the command.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/BlackArch/blackarch/issues/3090#issuecomment-832880857, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALEO7UCFRJX43C2B5YHYLDLTMF7D3ANCNFSM4374NYHQ.

Edu4rdSHL commented 3 years ago

If you run "Pac-Man -Syyu" it will not work. Please read https://wiki.archlinux.org/title/Pacman

Locking this issue.