Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.

Autor Téma: Unable to lockate package  (Přečteno 663 krát)

Kmotr

  • Návštěvník
  • *
  • Příspěvků: 5
  • Karma: +0/-0
    • Zobrazit profil
Unable to lockate package
« kdy: 13 Červenec 2019, 19:42:03 »
Muze mi nekdo pomoct prosim. Viz. screen ....

juwa2

  • Závislák
  • ****
  • Příspěvků: 2867
  • Karma: +205/-38
    • Zobrazit profil
Re:Unable to lockate package
« Odpověď #1 kdy: 13 Červenec 2019, 21:09:34 »
1.) No pokud něco není v repozitářích které máš nastavené jako zdroje SW, tak to pochopitelně nenainstaluješ - není odkud to brát.  Musíš si nejprve přidat příslušné repozitáře (PPA).

2.) K instalacím používej (doinstaluj si) Synaptic - tam hned uvidíš co je a není k dispozici.
Kód: [Vybrat]
sudo apt-get install synaptic apt-xapian-index
« Poslední změna: 14 Červenec 2019, 01:34:09 od juwa2 »

Kmotr

  • Návštěvník
  • *
  • Příspěvků: 5
  • Karma: +0/-0
    • Zobrazit profil
Re:Unable to lockate package
« Odpověď #2 kdy: 14 Červenec 2019, 00:34:32 »
Uzo, pochopil sem to az k tomu "No pokud" ...

Ja sem basic uzivatel windowsu co videl linux dvakrat na vobrazku a jednou ho omylem bootnul...

ALe nasel sem starej wallet-protobuff v kterym je mozna 0,6 Bitcoinu, mozna 0,1 bitcoinu a mozna 0,9 bitcoinu co sem tezil nekde 7 let spatky.  Nejspis tam ale neni nic a nejspis to je pod pinem kterej nejspis stejne nevim - mam tak dve moznosti co si pamatuju ze sem "back then" pouzival :D

A navod na to jak ten protobuf decodovat, nebo se o to aspon pokusit, a pokud tam ten bitcoin je a pokud k nemu nahodou bude pasovat jeden z pinu co si pamatuju tak ho previst nekam jinam je tohle:

Recovering Bitcoins
PROLOGUE
This document describes how you can use a backup file on a standard PC to recover your Bitcoins. Normally, this shouldn't be needed. It is much preferred to just use Options > Safety > Restore wallet from within the Bitcoin Wallet app if you can. This guide is only meant for rare cases:

Your Android device is destroyed or missing and you do not want or cannot get a new Android device.
Legislation in your country forbids you to continue using the app and you missed the chance to move your coins out while it was still legal.
The app suddenly goes out of service for whatever reason. This event is extremely unlikely, given the fact that the app is open source and many developers from all over the world have and know the code.
Be aware some of the steps in this tutorial require handling your private keys in the unencrypted form. Do not expose them to anyone. Whoever knows your private keys can spend your coins on these keys. It'd good practice that after you are finished handling these keys, they should be considered compromised, even if they are not. Make sure your system is free of any malware.

We recommend using Ubuntu Linux. You can boot from a Live CD if you want, but if you do please refrain from sending your coins to a temporary wallet created in that environment, which would be lost e.g. on a power outage or computer failure. Your desired destination wallet should already be set up and you should have one of its receiving addresses or a QR code at hand.

Alternatively, you can also use Ubuntu on Windows 10 64-bit, if you've fully upgraded to the Fall Creators Update (version 1709 or later). Open the Windows Start Menu, search for and start Turn Windows features on or off. Scroll down and tick the Windows Subsystem for Linux feature. Restart your computer when prompted. Next, install Ubuntu from the Windows Store. Once the download has completed, select Launch. It will prompt you to pick a username and complete the installation. From now on, you can start into a Linux shell by selecting Ubuntu from the Windows Start Menu.

You should be at least a bit familiar with the Linux shell. Commands in fixed-width font like this are meant to be executed as a shell command. Before you execute each command by pressing return, make sure to understand what it does. You will need to adjust some file or directory names. Commands starting with sudo apt will ask for your permission to install software by requiring your Ubuntu user password.

PREPARATION
On your PC, within your Linux shell, install the following Ubuntu packages:

sudo apt install openjdk-8-jdk android-tools-adb openssl git gradle
On your Android device, go to Settings > Developer options and enable "USB debugging". On most recent devices you need to go to Settings > About first and tap on "Build number" multiple times until you see the "You are now a developer" message.

LOCATING THE BACKUP FILES
If you followed the app's guidance your backup files will be located on a share of the storage access framework, very likely your Google Drive. Watch out for filenames starting with bitcoin-wallet-backup.

Historically, the backup can also be saved to your email account (as a file attachment of an email sent to yourself) or on your SD card in the /Download folder. Just save the backup file to your PCs filesystem.

DECRYPTING
You now have your backup file on your PC. Wallet backups are encrypted. Let's decrypt it using:

openssl enc -d -aes-256-cbc -md md5 -a -in bitcoin-wallet-backup-testnet-2014-11-01 > bitcoin-wallet-decrypted-backup
It will ask you for a decryption password, which is your backup password. If it prints "bad password" you've got the wrong password, but if it doesn't print anything your password might still be wrong. We can only be sure by looking at the decrypted data.

Historically there is two backup formats. Let's look at the first printable characters in the file:

cat bitcoin-wallet-decrypted-backup | tr -cd "[:print:]" | awk '{print $1}'
If it prints "org.bitcoin.production", you got the right password and the backup file uses the bitcoinj protobuf format. This backup format was introduced in v3.47 (May 2014). Skip to RECOVERING FROM PROTOBUF WALLET FORMAT.

If it prints just a hash sign (#), you got the right password and the backup file uses the old text based private key format. Skip to RECOVERING FROM BASE58 KEY FORMAT.

If it prints something else or nothing, you likely didn't get the password right. Passwords are case sensitive, and make sure you didn't accidentally type a space character in front or after the password.

RECOVERING FROM PROTOBUF WALLET FORMAT
We need wallet-tool from bitcoinj. First, in a working directory, let's get bitcoinj:

git clone -b release-0.15 https://github.com/bitcoinj/bitcoinj.git
Make sure everything is compiled and ready to go by using once:

cd bitcoinj/tools
./wallet-tool
Now use wallet-tool to sync the wallet from your backup:

./wallet-tool reset --wallet=/tmp/bitcoin-wallet-decrypted-backup
./wallet-tool sync --wallet=/tmp/bitcoin-wallet-decrypted-backup --debuglog
The sync process will take anywhere from a few minutes to hours. Wallet-tool will return to the shell prompt if its finished syncing. Have a look at the wallet:

./wallet-tool dump --wallet=/tmp/bitcoin-wallet-decrypted-backup
Does the balance look right? You can see all transactions that ever touched your wallet. Now empty your entire wallet to the desired destination wallet if that's what you want:

./wallet-tool send --wallet=/tmp/bitcoin-wallet-decrypted-backup --output=<receiving address of destination wallet>:ALL
If your wallet was protected by a spending PIN, you need to supply that PIN using the --password=<PIN> option.

Be extra careful with this command to get all parameters right. If it succeeds, it will print the transaction hash of the created transaction. You can use that on a block explorer to watch, or just open the destination wallet and watch from there. If your coins are confirmed, you're done and you can skip the next paragraph to EPILOGUE.

You can also get a list of your private keys, e.g. to claim coins other than Bitcoin which may sit on the same keys. To dump the private keys use:

./wallet-tool dump --wallet=/tmp/bitcoin-wallet-decrypted-backup --dump-privkeys
Again, if your wallet was protected by a spending PIN, you need to supply that PIN using the --password=<PIN> option.

Look for priv WIF=<...>, where <...> will be your private keys in wallet import format. Be careful where you put them, as anybody getting access to them will be able to steal all your coins associated to that key, not only your Bitcoins! Unless you fully trust the security of the computer consider running it on an offline system with no network connectivity. Also, consider securely erasing any decrypted copy of your private keys once you've used them.

RECOVERING FROM BASE58 KEY FORMAT
Have a deeper look at the backup file:

cat bitcoin-wallet-decrypted-backup
You'll see each line contains a key in WIF (wallet import format), technically Base58. The datetime string after each key is the birthdate of that key which you can ignore for the purpose of this one-time recovery.

You can import each individual key into a PC wallet like Electrum or Bitcoin Core.

As soon as you see your whole balance again, empty your entire wallet to the desired destination wallet. Please do not continue to use the imported wallet. Remember you just operated on unencrypted keys which can be dangerous, so it's good practice to handle them as if they were compromised even if they in fact aren't.

EPILOGUE
Let us know if this document helped you with recovering your coins!




....... me se tyka ten odstavec "RECOVERING FROM PROTOBUF WALLET FORMAT"  .....  a jak uz sem rikal nejsem na tom o moc lip nez ze si umim stahnout fotku z mobilu a nainstalovat system ... :)







juwa2

  • Závislák
  • ****
  • Příspěvků: 2867
  • Karma: +205/-38
    • Zobrazit profil
Re:Unable to lockate package
« Odpověď #3 kdy: 14 Červenec 2019, 01:19:03 »
Co si máš nainstalovat tam máš napsané. Takže:
Kód: [Vybrat]
sudo apt-get install default-jdk android-tools-adb openssl git gradle
Vše je v oficiálním repo. Můžeš taky k instalaci použít Synaptic a nainstalovat ty balíky postupně v něm.
Až to budeš mít, můžeš pokračovat dle toho návodu.
A doufám, že to neprovádíš v tom linux-subsystému co je ve W10...
« Poslední změna: 14 Červenec 2019, 01:32:42 od juwa2 »

Kmotr

  • Návštěvník
  • *
  • Příspěvků: 5
  • Karma: +0/-0
    • Zobrazit profil
Re:Unable to lockate package
« Odpověď #4 kdy: 14 Červenec 2019, 11:27:29 »
Jojo, zkousel sem to v tom win10 kdyz v tom navodu psali ze to ma pres to jit. Nainstalim plny Ubuntu a zkusim v nem, snad to zvladnu :) Diky moc.

Kmotr

  • Návštěvník
  • *
  • Příspěvků: 5
  • Karma: +0/-0
    • Zobrazit profil
Re:Unable to lockate package
« Odpověď #5 kdy: 26 Červenec 2019, 21:48:38 »
Tak sem mel konecne trochu casu a konecne se dostal k instalaci linuxu (ubuntu 18.04), sice mi nejde rozjet grafika (mam gtx 2070 a proste drivery nerozjedu ani podle navodu na netu/youtubku) takze jedu na 1024x768 ... ale aspon sem se hnul nekam dal :D mam ted dalsi problem hned u prvniho kroku -

 git clone -b release-0.15 https://github.com/bitcoinj/bitcoinj.git

a vyhodi mi to viz. obrazek


« Poslední změna: 26 Červenec 2019, 21:50:28 od Kmotr »

juwa2

  • Závislák
  • ****
  • Příspěvků: 2867
  • Karma: +205/-38
    • Zobrazit profil
Re:Unable to lockate package
« Odpověď #6 kdy: 26 Červenec 2019, 22:27:30 »
1. Mě to jde stáhnout normálně viz první obrázek. Je to tím, že mám na githubu účet a jsem do něj přihlášený. Udělej totéž (= vytvoř si tam účet a přihlaš se do něj)
2. Můžeš si to taky stáhnout ručně viz druhý obrázek....
« Poslední změna: 26 Červenec 2019, 22:32:02 od juwa2 »

Kmotr

  • Návštěvník
  • *
  • Příspěvků: 5
  • Karma: +0/-0
    • Zobrazit profil
Re:Unable to lockate package
« Odpověď #7 kdy: 26 Červenec 2019, 23:09:04 »
Tak už mi to de taky, ted mam dalsi problem ...

Psal sem maniku co delaj tu penezenku:

>> Hi, i have backup from 2013 . not backup via app but backup of whole
>> app. Iam sending u screens of what i have. How do i restore it if i
>> have it like that ?   (druhej screen je ten co sem poslal jim s touhle spravou)


na to mi odpovedeli:

> The wallet-protobuf contains your wallet.
>
> Use the instructions contained in
>
> https://github.com/bitcoin-wallet/bitcoin-wallet/blob/master/wallet/README.recover.md


Problem je, ze podle toho navodu nevim jak dekodovat ten soubor kterej mam ja  a to ten wallet-protobuf (viz prvni screen )

Takze nevim jak udelat ten bod:

openssl enc -d -aes-256-cbc -md md5 -a -in bitcoin-wallet-backup-testnet-2014-11-01 > bitcoin-wallet-decrypted-backup   

Kdyz skusim decryptnout primo ten soubor walet-protobuff tak to hodi error ze ho to neumi precist .... tzn mam ten soubor  bitcoin-wallet-decrypted-backup  prazdnej takze nema cenu delat ty dalsi body dole jako

./wallet-tool reset --wallet=/tmp/bitcoin-wallet-decrypted-backup
./wallet-tool sync --wallet=/tmp/bitcoin-wallet-decrypted-backup --debuglog    a dál ....

Naky napady ?

« Poslední změna: 26 Červenec 2019, 23:10:41 od Kmotr »